X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/caa2c79b454a282ae297052f05e1581deb0aa22b..236a9de39afa090fdee3cf91cb5364ceca69e3f8:/src/make.env.in diff --git a/src/make.env.in b/src/make.env.in index 621d3510e8..289b3bf062 100644 --- a/src/make.env.in +++ b/src/make.env.in @@ -10,9 +10,9 @@ ####################### GENERAL SETTINGS ############################ - -EXTRALIBS = @EXTRA_LIBS@ -LDLIBS = ${top_builddir}/lib/@WX_TARGET_LIBRARY@ $(EXTRALIBS) +# see comment near LDFLAGS at the end of file +EXTRALIBS = @LDFLAGS@ @EXTRA_LIBS@ +LDLIBS = ${top_builddir}/lib/@WX_TARGET_LIBRARY@ $(EXTRALIBS) $(APPEXTRALIBS) TOOLKIT = @TOOLKIT@ TOOLKITDIR = @TOOLKIT_DIR@ @@ -56,6 +56,10 @@ MAKEINFO = @MAKEINFO@ SHARED_LD = @SHARED_LD@ +RESFLAGS = @RESFLAGS@ +RESCOMP = @RESCOMP@ +DLLTOOL = @DLLTOOL@ + ########################### Flags ################################# # @@ -68,6 +72,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@