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 | 14a83be171282e7f709c34a3b63421f0e12edb31 (patch) | |
tree | b619182cf5bffed145554cf36bb2387df24ec3c3 | |
parent | c273013b7939123735d46710ae3807374e3228d8 (diff) | |
download | openttd-14a83be171282e7f709c34a3b63421f0e12edb31.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 |