| Revision 804,
737 bytes
checked in by faa59, 7 years ago
(diff) |
|
Latest MinGW updates
|
-
Property svn:eol-style set to
native
-
Property svn:executable set to
*
-
Property svn:keywords set to
Author Date Id Revision
|
| Line | |
|---|
| 1 | #!/bin/sh |
|---|
| 2 | # |
|---|
| 3 | # $Id$ |
|---|
| 4 | # |
|---|
| 5 | |
|---|
| 6 | # hack to get round the problem that libtool 1.5 uses the "file" |
|---|
| 7 | # command and MinGW does not provide one (see README.MinGW) |
|---|
| 8 | |
|---|
| 9 | # install this as /usr/local/bin/file and chmod +x it |
|---|
| 10 | |
|---|
| 11 | while $(echo "$1" | grep --silent "^-") |
|---|
| 12 | do |
|---|
| 13 | shift |
|---|
| 14 | done |
|---|
| 15 | |
|---|
| 16 | case "$1" in |
|---|
| 17 | *.exe) echo "MS Windows PE 32-bit Intel 80386 console executable not relocatable" ;; # libtool doesn"t match the "32-bit" |
|---|
| 18 | *.dll) echo "MS Windows PE 32-bit Intel 80386 console DLL" ;; |
|---|
| 19 | *.dll.a) echo "ar archive import library" ;; # <-- import library for relocatable library |
|---|
| 20 | *.a | *.lib) echo "ar archive" ;; # <-- could be static library or import library for relocatable library; libtool will use objdump to find out |
|---|
| 21 | *) echo "unknown" ;; |
|---|
| 22 | esac |
|---|
Note: See
TracBrowser
for help on using the repository browser.