Skip to content

Commit

Permalink
Workaround for linking with ld.bfd.
Browse files Browse the repository at this point in the history
Ubuntu (and possibly others) still have the old ld.bfd as default
instead of ld.gold, and that fails to recognize the -lz option when it
comes too early. So just add it to the end again.
  • Loading branch information
cybersphinx committed Oct 16, 2011
1 parent 5839c49 commit cd6bb3d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions po/POTFILES.in
Expand Up @@ -181,6 +181,7 @@ lib/netplay/netplay.cpp
lib/netplay/netqueue.cpp
lib/netplay/netsocket.cpp
lib/netplay/nettypes.cpp
lib/qtgame/macosx_screen_resolutions.cpp
lib/qtgame/qtgame.cpp
lib/qtgame/swapinterval.cpp
lib/script/codeprint.cpp
Expand Down
2 changes: 1 addition & 1 deletion src/Makefile.am
Expand Up @@ -296,7 +296,7 @@ warzone2100_LIBS = \

warzone2100_LDADD = $(warzone2100_LIBS) $(LTLIBINTL) $(PHYSFS_LIBS) $(PNG_LIBS) $(OGGVORBIS_LIBS) \
$(THEORA_LIBS) $(OPENAL_LIBS) $(OPENGLC_LIBS) $(OPENGL_LIBS) $(QT4_LIBS) $(QJSON_LIBS) $(GLEW_LIBS) \
$(X_LIBS) $(X_EXTRA_LIBS)
$(X_LIBS) $(X_EXTRA_LIBS) $(LDFLAGS)

if MINGW32
warzone2100_LDADD += $(top_builddir)/win32/warzone2100.o $(WIN32_LIBS)
Expand Down

0 comments on commit cd6bb3d

Please sign in to comment.