updated makefile for mingw32-python bindings to copy over libr*.dll into the directory where bindings are built. deleted commented out code in mingw32-python.sh

This commit is contained in:
radbrad 2013-11-15 00:44:59 -05:00
parent f88fc7fb0d
commit a431033cd2
2 changed files with 3 additions and 2 deletions

View File

@ -63,7 +63,7 @@ chect:
check-w32:
if [ ! -d "${W32PY}/libs" ]; then \
wget http://www.python.org/ftp/python/2.7/python-2.7.msi ; \
msiexec /i python-2.7.msi ; \
msiexec /i python-2.7.msi /qn ; \
fi
w32:
@ -84,6 +84,8 @@ w32dist:
# Copy missing libraries
-cp -f ${SJLJ} ${DST}
-cp -f ${STDC} ${DST}
#Copying over libr_*.dll libs as bindings need them in same dir as .py
for a in `find $$PWD/../libr -name libr*.dll | grep -e dll$$`; do cp $$a ${DST} ; done
cd .. ; zip -r $(DSTNAME).zip $(DSTNAME)
.PHONY: w32dist dist w32 check check-w32 vdoc vdoc_pkg

View File

@ -27,6 +27,5 @@ make clean
sudo make install-vapi
#make python CC=i486-mingw32-gcc CXX=i486-mingw32-g++ || exit 1
make w32 CC=$C CXX=$G || exit 1
make w32dist