summaryrefslogtreecommitdiffstats
path: root/bin/mklib
diff options
context:
space:
mode:
authorJon TURNEY <[email protected]>2010-07-24 12:05:34 +0100
committerBrian Paul <[email protected]>2010-09-01 08:48:06 -0600
commitc55a8a73a483305c7c9a7bcc7191dd7c833f873d (patch)
tree670a084e6c29aafd585d826735e30d09b1a9d3b9 /bin/mklib
parent36b195332fffdba6f596750266dc4a805d046b89 (diff)
Cygwin: Teach mklib/minstall to properly install libraries on cygwin
Teach mklib/minstall more about cygwin so libraries are properly installed Have mklib install the .dll into the lib/ staging directory as well Have minstall install the .dll into PREFIX/bin at the same time as installing the .dll.a link library into PREFIX/lib mklib uses a '-' rather than a '.' as the separator before the version number in library names on cygwin. Change the install globs so they match library names like that. Signed-off-by: Jon TURNEY <[email protected]> Signed-off-by: Brian Paul <[email protected]>
Diffstat (limited to 'bin/mklib')
-rwxr-xr-xbin/mklib5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/mklib b/bin/mklib
index 5478ef72c86..bc554c15637 100755
--- a/bin/mklib
+++ b/bin/mklib
@@ -1019,4 +1019,9 @@ if [ ${INSTALLDIR} != "." ] ; then
echo "mklib: Installing" ${FINAL_LIBS} "in" ${INSTALLDIR}
test -d ${INSTALLDIR} || mkdir -p ${INSTALLDIR}
mv ${FINAL_LIBS} ${INSTALLDIR}/
+
+ if [ "x${FINAL_BINS}" != "x" ] ; then
+ echo "mklib: Installing" ${FINAL_BINS} "in" ${INSTALLDIR}
+ mv ${FINAL_BINS} ${INSTALLDIR}/
+ fi
fi