X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/62d0491bf6620bbaec0ce3fc8821931e1b6ed29b..a81c3c2383f9096ef5e96b708a0f1c1ffe7cc6a8:/wx-config.in?ds=sidebyside diff --git a/wx-config.in b/wx-config.in index 4bf5af839a..86218ba3ab 100755 --- a/wx-config.in +++ b/wx-config.in @@ -100,14 +100,19 @@ while test $# -gt 0; do fi if test $static_flag = yes ; then - echo "$libs @LDFLAGS@ @WXCONFIG_LIBS@ @LIBS@ @DMALLOC_LIBS@" + echo "$libs @LDFLAGS@ @libdir@/@WXCONFIG_LIBS_STATIC@ @LIBS@ @DMALLOC_LIBS@" else echo $libs @LDFLAGS@ @WXCONFIG_LIBS@ @DMALLOC_LIBS@ fi ;; --gl-libs) - echo @LDFLAGS_GL@ @WXCONFIG_LIBS_GL@ + if test $static_flag = yes -a "x" != "x@WXCONFIG_LIBS_STATIC_GL@" ; then + gllibs="@libdir@/@WXCONFIG_LIBS_STATIC_GL@" + else + gllibs="@WXCONFIG_LIBS_GL@" + fi + echo @LDFLAGS_GL@ "$gllibs" ;; --cc) echo $CC