aada3cb869
ok benoit@ (MAINTAINER)
13 lines
528 B
Plaintext
13 lines
528 B
Plaintext
$OpenBSD: patch-configure,v 1.1 2010/08/25 10:13:33 jasper Exp $
|
|
--- configure.orig Wed Aug 11 23:53:19 2010
|
|
+++ configure Tue Aug 24 14:15:43 2010
|
|
@@ -519,7 +519,7 @@ if test "$_libpng" = auto ; then
|
|
#include <png.h>
|
|
int main(void) { return printf("%s\n", PNG_HEADER_VERSION_STRING); }
|
|
EOF
|
|
- cc_check $LDFLAGS $CXXFLAGS $LIBPNG_CFLAGS $LIBPNG_LIBS -lpng && _libpng=yes
|
|
+ cc_check $LDFLAGS $CXXFLAGS $LIBPNG_CFLAGS $LIBPNG_LIBS `pkg-config --libs libpng` && _libpng=yes
|
|
fi
|
|
if test "$_libpng" = yes ; then
|
|
echo "$_libpng"
|