don't output -DwxUSE_GUI=0 in monolithic build, setup.h will take care of setting it correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
24
wx-config.in
24
wx-config.in
@@ -248,16 +248,20 @@ else
|
||||
fi
|
||||
|
||||
# determine if at least one gui lib was used:
|
||||
nogui_flag="yes"
|
||||
for i in $libs_list; do
|
||||
case $i in
|
||||
base|net)
|
||||
;;
|
||||
*)
|
||||
nogui_flag="no"
|
||||
;;
|
||||
esac
|
||||
done
|
||||
if test "$is_monolithic" = "0" ; then
|
||||
nogui_flag="yes"
|
||||
for i in $libs_list; do
|
||||
case $i in
|
||||
base|net)
|
||||
;;
|
||||
*)
|
||||
nogui_flag="no"
|
||||
;;
|
||||
esac
|
||||
done
|
||||
else
|
||||
nogui_flag="no"
|
||||
fi
|
||||
|
||||
|
||||
# handle options:
|
||||
|
Reference in New Issue
Block a user