changes to wx-config --static to allow static linkage in presence of shared library
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
affe40440e
commit
885d4bf54e
3 changed files with 323 additions and 305 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue