]> arthur.barton.de Git - bup.git/commit
Fix building under cygwin.
authorSteve Diver <squelch2@googlemail.com>
Fri, 12 Feb 2010 17:54:05 +0000 (12:54 -0500)
committerAvery Pennarun <apenwarr@gmail.com>
Fri, 12 Feb 2010 17:55:44 +0000 (12:55 -0500)
commita3ab444dfab24403d0a8a201730359c60ffe63f8
tree9f50f3aeec261b2b7a2ae6550fff8b12ef3597e6
parent1b6acd83e6f8920895d872121272294b36bfd4b2
Fix building under cygwin.

I attempted to build the latest under cygwin and ran into this:

<snip>
...
creating build/temp.cygwin-1.7.1-i686-2.5
gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-
prototypes -I/usr/include/python2.5 -c _hashsplit.c -o b
uild/temp.cygwin-1.7.1-i686-2.5/_hashsplit.o
creating build/lib.cygwin-1.7.1-i686-2.5
gcc -shared -Wl,--enable-auto-image-base build/temp.cygwin-1.7.1-
i686-2.5/_hashsplit.o -L/usr/lib/python2.5/config -lpyt
hon2.5 -o build/lib.cygwin-1.7.1-i686-2.5/_hashsplit.dll
cp build/*/_hashsplit..dll .
cp: cannot stat \ 2uild/*/_hashsplit..dll': No such file or directory
make: *** [_hashsplit.dll] Error 1

</snip>

Some investigation turned up that Makefile was mistakenly referencing
_hashsplit.so instead of _hashsplit.dll

Changing the Makefile to expand the extension macro for the detected
platform, now allows problem free building.
Makefile