mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 04:10:38 +00:00
libpng-config: get I_opts and not the whole cflags, which break debug builds
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@35090 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
323e1dc02f
commit
886d67d0f5
3 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
2012-04-19 Riccardo Mottola <rm@gnu.org>
|
||||
|
||||
* configure
|
||||
* configure.ac
|
||||
libpng-config: get I_opts and not the whole cflags, which break debug builds
|
||||
|
||||
2012-04-10 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/NSTabView.m (+initialize): Increase version number.
|
||||
|
|
2
configure
vendored
2
configure
vendored
|
@ -5006,7 +5006,7 @@ fi
|
|||
|
||||
|
||||
if test "$HAVE_LIBPNG_CONFIG" = "yes"; then
|
||||
PNG_CFLAGS="`libpng-config --cflags`"
|
||||
PNG_CFLAGS="`libpng-config --I_opts`"
|
||||
PNG_LDFLAGS="`libpng-config --ldflags`"
|
||||
CFLAGS="$PNG_CFLAGS ${CFLAGS}"
|
||||
LDFLAGS="$PNG_LDFLAGS ${LDFLAGS}"
|
||||
|
|
|
@ -242,7 +242,7 @@ if test $enable_png = yes; then
|
|||
# use libpng-config if available
|
||||
AC_CHECK_PROG(HAVE_LIBPNG_CONFIG, [libpng-config], yes)
|
||||
if test "$HAVE_LIBPNG_CONFIG" = "yes"; then
|
||||
PNG_CFLAGS="`libpng-config --cflags`"
|
||||
PNG_CFLAGS="`libpng-config --I_opts`"
|
||||
PNG_LDFLAGS="`libpng-config --ldflags`"
|
||||
CFLAGS="$PNG_CFLAGS ${CFLAGS}"
|
||||
LDFLAGS="$PNG_LDFLAGS ${LDFLAGS}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue