[mingw-filesystem: 30/73] Somehow this change wasn't sent along with the previous commit..

Kalev Lember kalev at fedoraproject.org
Thu Feb 23 19:15:10 UTC 2012


commit b136c92f8318a234661bddd7be013eea70d77a12
Author: epienbro <epienbro at fedoraproject.org>
Date:   Sat Aug 29 14:40:08 2009 +0000

    Somehow this change wasn't sent along with the previous commit..

 mingw32-scripts.sh |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/mingw32-scripts.sh b/mingw32-scripts.sh
index 24af47a..adc1e95 100755
--- a/mingw32-scripts.sh
+++ b/mingw32-scripts.sh
@@ -21,5 +21,9 @@
 # This is a useful command-line script through which one can use the
 # macros from mingw32-macros.mingw32 cross-compilation. 
 
-NAME="_`basename $0|tr -- - _`"
+if [ "`basename $0`" = "i686-pc-mingw32-pkg-config" ] ; then
+    NAME="_mingw32_pkg_config"
+else
+    NAME="_`basename $0|tr -- - _`"
+fi
 eval "`rpm --eval "%{$NAME}"`" "$@"


More information about the scm-commits mailing list