From 350a53760f0d58c32fbe55b91ff4faa4cab17aa6 Mon Sep 17 00:00:00 2001 From: truelight Date: Tue, 6 Mar 2007 22:41:50 +0000 Subject: (svn r9045) -Fix [Config]: libpng-config --ldflags returns --libs and -L_opts too, no need to call it an extra time (double -lpng12 in LDFLAGS) --- config.lib | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'config.lib') diff --git a/config.lib b/config.lib index fce063fbf..c33d90db7 100644 --- a/config.lib +++ b/config.lib @@ -779,10 +779,10 @@ make_cflags_and_ldflags() { if [ "$os" = "OSX" ]; then LIBS="$LIBS `$png_config --prefix`/lib/libpng.a" else - LIBS="$LIBS `$png_config --static --ldflags --libs --L_opts | tr '\n\r' ' '`" + LIBS="$LIBS `$png_config --static --ldflags | tr '\n\r' ' '`" fi else - LIBS="$LIBS `$png_config --ldflags --libs --L_opts | tr '\n\r' ' '`" + LIBS="$LIBS `$png_config --ldflags | tr '\n\r' ' '`" fi fi -- cgit v1.2.3-54-g00ecf