From: Vadim Zeitlin Date: Fri, 25 Feb 2000 15:32:24 +0000 (+0000) Subject: attempt at fixing LDFLAGS X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/e006f096ad08d25db5b7893eb3b6abf29c14e7bd?ds=inline attempt at fixing LDFLAGS git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/make.env.in b/src/make.env.in index 621d3510e8..e070a1d66c 100644 --- a/src/make.env.in +++ b/src/make.env.in @@ -10,8 +10,8 @@ ####################### GENERAL SETTINGS ############################ - -EXTRALIBS = @EXTRA_LIBS@ +# see comment near LDFLAGS at the end of file +EXTRALIBS = @LDFLAGS@ @EXTRA_LIBS@ LDLIBS = ${top_builddir}/lib/@WX_TARGET_LIBRARY@ $(EXTRALIBS) TOOLKIT = @TOOLKIT@ @@ -68,6 +68,9 @@ SHARED_LD = @SHARED_LD@ CFLAGS = @TOOLKIT_DEF@ @CODE_GEN_FLAGS@ @WXDEBUG_DEFINE@ @CFLAGS@ @CPPFLAGS@ CPPFLAGS = @TOOLKIT_DEF@ @CODE_GEN_FLAGS@ @WXDEBUG_DEFINE@ @CXXFLAGS@ @CPPFLAGS@ PICFLAGS = @PIC_FLAG@ -LDFLAGS = @LDFLAGS@ +# taking into account how SHARED_LD is defined, appending LDFLAGS to it +# doesn't work, so we put them in the end of the linker command line in +# EXTRALIBS instead (see above) +# LDFLAGS = @LDFLAGS@