X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/024cad37e9d7023f16a434c1e1da06480f20a686..67d947ba89b176c05c7707f44e4381bdef0f21c8:/wx-config.in?ds=sidebyside diff --git a/wx-config.in b/wx-config.in index d046f70d48..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 @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