X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ec06b234d23120bae56c1b0871540cda4945e034..e006f096ad08d25db5b7893eb3b6abf29c14e7bd:/src/make.env.in 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@