X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c06957daf10bb92fe72a2a599835cb0a2fc1ac52..a8bda512079352ba81933e278d9ccdb8ef7a9866:/wx-config.in diff --git a/wx-config.in b/wx-config.in index 7f1be37817..28e9fa4c0c 100755 --- a/wx-config.in +++ b/wx-config.in @@ -386,7 +386,7 @@ get_mask() # use 2.8 or 2.9 version of the mask: the difference is the presence of # debug type in pre-2.9 - if [ $is29orlater == 1 ]; then + if [ $is29orlater = 1 ]; then eval echo "\${$1_host:+\$$1_host-}\${$1_toolkit}\${$1_widgetset}-\${$1_chartype}\${$1_linkage:+-\$$1_linkage}-\${$1_version}\${$1_flavour}" else eval echo "\${$1_host:+\$$1_host-}\${$1_toolkit}\${$1_widgetset}-\${$1_chartype}-\${$1_debugtype}\${$1_linkage:+-\$$1_linkage}-\${$1_version}\${$1_flavour}" @@ -1265,7 +1265,7 @@ if [ -n "$output_option_libs" ]; then is_installed || [ -n "$flag_option_no_rpath" ] || _rpath="@WXCONFIG_RPATH@" - echo $_ldflags "@LDFLAGS@" $_rpath $wx_libs "@DMALLOC_LIBS@" + echo $_ldflags "@WXCONFIG_LDFLAGS@" $_rpath $wx_libs "@DMALLOC_LIBS@" elif [ -n "$output_option_optional_libs" ]; then # if only --optional-libs then output just the libs