Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make compatible with automake >=1.13, distributions which no longer support indirect symbol resolution #12

Merged
merged 3 commits into from
Jan 7, 2014

Conversation

djerius
Copy link
Owner

@djerius djerius commented Jan 3, 2014

automake >=1.13 runs tests in parallel mode by default; the old serial tests fail to run. I've added the necessary automake option to use serial tests.

Many Linux distributions no longer support indirect symbol resolution (see https://wiki.debian.org/ToolChain/DSOLinking, https://wiki.ubuntu.com/NattyNarwhal/ToolchainTransition) which causes linking of lua.o against liblua.so to fail, as liblua.so did not explicitly link against libm and libdl. I've added explicit dependencies to liblua.so

Systems which do not support indirect symbol resolution (Ubuntu >=
11.10, Debian > Wheezy(?), Fedora >=13) require that liblua.so be
linked with -lm and -ldl, else linking against it will cause
undefined symbol errors in liblua.so.
akheron added a commit that referenced this pull request Jan 7, 2014
make compatible with automake >=1.13, distributions which no longer support indirect symbol resolution
@akheron akheron merged commit c30914b into djerius:master Jan 7, 2014
@akheron
Copy link
Collaborator

akheron commented Jan 7, 2014

Merged, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants