Added -lpangoft2-1.0 to link line.
Added _GNU_SOURCE to compile line. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
2b760f0e7a
commit
328a083c69
@ -1945,6 +1945,9 @@ equivalent variable and GTK+ is version 1.2.3 or above.
|
||||
|
||||
TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
|
||||
GUI_TK_LIBRARY="$wx_cv_libs_gtk"
|
||||
if test "$WXGTK20" = 1 ; then
|
||||
GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lpangoft2-1.0"
|
||||
fi
|
||||
|
||||
AFMINSTALL=afminstall
|
||||
TOOLKIT=GTK
|
||||
@ -3456,6 +3459,8 @@ if test "$TOOLKIT" != "MSW"; then
|
||||
dnl (strictly speaking we only need _XOPEN_SOURCE=500 but just defining
|
||||
dnl this disables _BSD_SOURCE which breaks libtiff compilation, so it is
|
||||
dnl simpler to just define _GNU_SOURCE to get everything)
|
||||
|
||||
We define this already somewhere else
|
||||
if test "x$wx_cv_lib_glibc21" = "xyes"; then
|
||||
CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"
|
||||
fi
|
||||
@ -3572,6 +3577,10 @@ if test "$wxUSE_PROFILE" = "yes" ; then
|
||||
fi
|
||||
|
||||
CODE_GEN_FLAGS=
|
||||
if test "$GCC" = "yes" ; then
|
||||
CODE_GEN_FLAGS="$CODE_GEN_FLAGS -D_GNU_SOURCE"
|
||||
fi
|
||||
|
||||
CODE_GEN_FLAGS_CXX=
|
||||
if test "$GCC" = "yes" ; then
|
||||
if test "$wxUSE_NO_RTTI" = "yes" ; then
|
||||
|
Loading…
Reference in New Issue
Block a user