rpms/mingw32-filesystem/devel mingw32-scripts.sh,1.2,1.3
epienbro
epienbro at fedoraproject.org
Sat Aug 29 14:40:09 UTC 2009
Author: epienbro
Update of /cvs/pkgs/rpms/mingw32-filesystem/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv28703
Modified Files:
mingw32-scripts.sh
Log Message:
Somehow this change wasn't sent along with the previous commit..
Index: mingw32-scripts.sh
===================================================================
RCS file: /cvs/pkgs/rpms/mingw32-filesystem/devel/mingw32-scripts.sh,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- mingw32-scripts.sh 6 Dec 2008 14:33:41 -0000 1.2
+++ mingw32-scripts.sh 29 Aug 2009 14:40:08 -0000 1.3
@@ -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 mingw
mailing list