X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/62d0491bf6620bbaec0ce3fc8821931e1b6ed29b..28f5082b3235a349ffc3b99eeacca5049ccd42dd:/wx-config.in?ds=inline 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