]> git.saurik.com Git - wxWidgets.git/blobdiff - wx-config.in
Correct decoding of 4-byte integers in png2c script.
[wxWidgets.git] / wx-config.in
index 7f1be378178f85bd03c51cfe1a88005b15764414..28e9fa4c0c25aaac23bcdd591bb0dc7d5db03883 100755 (executable)
@@ -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