diff options
author | Pete Batard <pbatard@gmail.com> | 2011-02-25 12:10:21 +0000 |
---|---|---|
committer | Pete Batard <pbatard@gmail.com> | 2011-02-25 12:10:21 +0000 |
commit | aefe4c8623db0676f81cfd1d611ae0a5a6e42da5 (patch) | |
tree | 82d234fa6f540866e2695f83c3a5e774c851be08 /autogen.sh | |
parent | 6356d874dba955df7b1ca7cf9c255d3875aaf76a (diff) | |
download | libusb-aefe4c8623db0676f81cfd1d611ae0a5a6e42da5.tar.gz |
fixed that hare-brained zero prefixing on .def creationpbr332
* issue reported by Chris Johns
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -14,7 +14,7 @@ create_def() # calls in MinGW generated objects, and .def based MS generated DLLs don't # have such a decoration => linking to MS DLL will fail without aliases. # Currently, the maximum size is 32 and all sizes are multiples of 4 - for i in 00 04 08 12 16 20 24 28 32 + for i in 0 4 8 12 16 20 24 28 32 do sed -n -e "s/.*API_EXPORTED.*\([[:blank:]]\)\(libusb.*\)(.*/ \2@$i = \2/p" libusb/*.c >> libusb/libusb-1.0.def~ sed -n -e "s/.*LIBUSB_CALL.*\([[:blank:]]\)\(libusb.*\)(.*/ \2@$i = \2/p" libusb/*.c >> libusb/libusb-1.0.def~ |