From c55a8a73a483305c7c9a7bcc7191dd7c833f873d Mon Sep 17 00:00:00 2001 From: Jon TURNEY Date: Sat, 24 Jul 2010 12:05:34 +0100 Subject: 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 Signed-off-by: Brian Paul --- bin/mklib | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'bin/mklib') diff --git a/bin/mklib b/bin/mklib index 5478ef72c8..bc554c1563 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 -- cgit v1.2.3