diff options
author | truelight <truelight@openttd.org> | 2007-03-06 22:41:50 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2007-03-06 22:41:50 +0000 |
commit | 350a53760f0d58c32fbe55b91ff4faa4cab17aa6 (patch) | |
tree | b619182cf5bffed145554cf36bb2387df24ec3c3 | |
parent | bfcc794f70a466a5266ed5b8ed8c695a9330e667 (diff) | |
download | openttd-350a53760f0d58c32fbe55b91ff4faa4cab17aa6.tar.xz |
(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)
-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 |