diff options
-rw-r--r-- | config.lib | 4 |
1 files changed, 2 insertions, 2 deletions
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 |