From fef23dd452a99a354d4ab5bf305b91d775c1a5c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Tue, 29 Jul 2003 23:06:59 +0000 Subject: [PATCH] fix wxBase name git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wx-config.in | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/wx-config.in b/wx-config.in index 339883adb8..2654f47fb5 100755 --- a/wx-config.in +++ b/wx-config.in @@ -59,13 +59,18 @@ output_libs() else basename=$basename_gui fi + if test $lib = "base" ; then + libname="$basename" + else + libname="${basename}_${lib}" + fi all_ldflags="$all_ldflags $xflags" if test $static_flag = yes ; then - wxlibs="$wxlibs @libdir@/lib${basename}_${lib}-${release}.a" + wxlibs="$wxlibs @libdir@/lib${libname}-${release}.a" all_libs="$all_libs $xlibs" else - wxlibs="$wxlibs -l${basename}_${lib}-${release}" + wxlibs="$wxlibs -l${libname}-${release}" fi done