Skip to content

Commit

Permalink
BUILD: Put libs into xoreos_LDADD instead of AM_LDFLAGS
Browse files Browse the repository at this point in the history
This should preserve the correct linking order for statically
linking, i.e. put the all external libraries after our internal
convenience libraries.
  • Loading branch information
DrMcCoy committed Apr 25, 2014
1 parent fd049bf commit 7ae4bae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.common
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ FLAGS_CXX = -Wnon-virtual-dtor

AM_CFLAGS = $(FLAGS_C_CXX) $(FLAGS_C) $(LIBSF_C_CXX) $(LIBSF_C)
AM_CXXFLAGS = $(FLAGS_C_CXX) $(FLAGS_CXX) $(LIBSF_C_CXX) $(LIBSF_CXX)
AM_LDFLAGS = $(LIBSL)
LDADD = $(LIBSL)

LIBS =
1 change: 1 addition & 0 deletions src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,5 @@ xoreos_LDADD = \
aurora/libaurora.la \
common/libcommon.la \
../lua/liblua.la \
$(LDADD) \
$(EMPTY)

0 comments on commit 7ae4bae

Please sign in to comment.