public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* cygport: patch for proper debuginfo
@ 2015-11-23  8:41 Marco Atzeri
  0 siblings, 0 replies; only message in thread
From: Marco Atzeri @ 2015-11-23  8:41 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 412 bytes --]

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

[-- Attachment #2: cygport.patch --]
[-- Type: text/plain, Size: 253 bytes --]

--- /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

[-- Attachment #3: Type: text/plain, Size: 218 bytes --]

--
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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-11-23  8:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-23  8:41 cygport: patch for proper debuginfo Marco Atzeri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).