This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: perl: ExtUtils-Liblist-Kid rejects $thislib.$so


Yaakov (Cygwin Ports) schrieb:
EU::Liblist::Kid refuses any linker flags which resemble $thislib.$so.
This is required by the Gtk2-Perl modules to link one against another OOTB.

I discussed this recently on gtk-perl-list. The relevant thread:

http://mail.gnome.org/archives/gtk-perl-list/2008-March/msg00097.html
http://mail.gnome.org/archives/gtk-perl-list/2008-April/msg00000.html

Ok, can you test this patch?


I just uploaded release -5 to my temp sourceware.org location,
but it was not a good sign obviously. I'll repackage.

The linker can swallow the link to the dll directly
(if EU::Liblist::Kid would behave correctly),
or we can generate convenience importlibs when used with EU::Liblist::Kid. I believe linking directly to the dll is easier.


But another core failure without testcase.
We have to get rid of all the wrong platform quirks for cygwin finally.
--
Reini Urban
http://phpwiki.org/  http://murbreak.at/
Yaakov Selkowitz:
EU::Liblist::Kid refuses any linker flags which resemble $thislib.$so.
This is required by the Gtk2-Perl modules to link one against another OOTB.

I discussed this recently on gtk-perl-list.  The relevant thread:

http://mail.gnome.org/archives/gtk-perl-list/2008-March/msg00097.html
http://mail.gnome.org/archives/gtk-perl-list/2008-April/msg00000.html 

diff -u  perl-current/lib/ExtUtils/Liblist/Kid.pm.orig
--- perl-current/lib/ExtUtils/Liblist/Kid.pm.orig	2008-03-26 16:42:09.000000000 +0000
+++ perl-current/lib/ExtUtils/Liblist/Kid.pm	2008-07-03 15:57:38.265625000 +0000
@@ -132,6 +132,7 @@
 	    } elsif (-f ($fullname="$thispth/lib$thislib$Config_libext")){
 	    } elsif (-f ($fullname="$thispth/$thislib$Config_libext")){
             } elsif (-f ($fullname="$thispth/lib$thislib.dll$Config_libext")){
+            } elsif (-f ($fullname="$thispth/$thislib.dll")){
 	    } elsif (-f ($fullname="$thispth/Slib$thislib$Config_libext")){
 	    } elsif ($^O eq 'dgux'
 		 && -l ($fullname="$thispth/lib$thislib$Config_libext")

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]