summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorPete Batard <pbatard@gmail.com>2011-02-25 12:10:21 +0000
committerPete Batard <pbatard@gmail.com>2011-02-25 12:10:21 +0000
commitaefe4c8623db0676f81cfd1d611ae0a5a6e42da5 (patch)
tree82d234fa6f540866e2695f83c3a5e774c851be08 /autogen.sh
parent6356d874dba955df7b1ca7cf9c255d3875aaf76a (diff)
downloadlibusb-aefe4c8623db0676f81cfd1d611ae0a5a6e42da5.tar.gz
fixed that hare-brained zero prefixing on .def creationpbr332
* issue reported by Chris Johns
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh
index 739ebf8..85fb8fb 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -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~