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

build system fixes #19

Merged
merged 3 commits into from Jun 12, 2013
Merged

build system fixes #19

merged 3 commits into from Jun 12, 2013

Conversation

dkg
Copy link
Collaborator

@dkg dkg commented Jun 11, 2013

This branch contains some build system fixes from debian packaging.

dkg added 3 commits June 11, 2013 10:10
for example, now you can do:

 make PREFIX=/usr

without any modification to the Makefile and have it behave as
intended.
In Ubuntu, the attached patch was applied to achieve the following:

  * as-needed.patch: Fix object/library link order for --as-needed.

When building with --as-needed, libraries need to be listed on the
link line after the objects that reference them.  In the autotools
world (and elsewhere), the LDFLAGS variable has been split into
LDFLAGS and LDADD to represent the need to list libs last.  This
patch makes that change to your Makefile, so this builds correctly
with --as-needed in LDFLAGS.
There are circumstances where you just want to repeat the build
without running the tests.  keeping the "test" target distinct from
the "all" target makes it possible to do that cleanly.
wolfcw added a commit that referenced this pull request Jun 12, 2013
@wolfcw wolfcw merged commit 043d457 into wolfcw:master Jun 12, 2013
@dkg dkg deleted the wolf branch March 6, 2021 03:18
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.

None yet

2 participants