cygport: patch for proper debuginfo

Marco Atzeri marco.atzeri@gmail.com
Mon Nov 23 08:41:00 GMT 2015


Hi Yaakov,
the attached patch solves some case I hit where the
debuginfo are not properly extracted.
"." as workdir can be managed differently by the build
system and cygport debuginfo extraction when:

$ pwd
/pub/devel/openblas

  $ readlink -f $(pwd)
/cygdrive/e/cyg_pub/devel/openblas


Usually Automake/Libtool are not affected, but Makefile only
build system, like openblas one, are instead,

Regards
Marco
-------------- next part --------------
--- /usr/bin/cygport~	2015-07-20 09:12:08.000000000 +0200
+++ /usr/bin/cygport	2015-11-21 17:45:13.583854800 +0100
@@ -395,7 +395,7 @@
 then
 	if [ -f ./${cygportfile} ]
 	then
-		_topdir=.;
+		_topdir=$(readlink -f .);
 	else
 		_topdir=/usr/src;
 	fi
-------------- next part --------------
--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


More information about the Cygwin mailing list