You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
Index: Glib-1.141/Makefile.PL
|
|
|
|
|
--- Glib-1.141/Makefile.PL.orig 2005-10-18 18:39:44 +0200
|
|
|
|
|
+++ Glib-1.141/Makefile.PL 2006-01-02 16:28:17 +0100
|
|
|
|
|
@@ -112,6 +112,8 @@
|
|
|
|
|
# this will be inherited by dependant modules, so they can find their
|
|
|
|
|
# generated files.
|
|
|
|
|
$glib->set_inc ($glibcfg{cflags} . $gthreadcfg{cflags} . ' -I. ');
|
|
|
|
|
+$gthreadcfg{libs} =~ s/-pthread/-lpthread/sg;
|
|
|
|
|
+$gthreadcfg{libs} =~ s/(-lpthread)(.+)$/$2$1/s;
|
|
|
|
|
$glib->set_libs ($glibcfg{libs} . $gthreadcfg{libs});
|
|
|
|
|
my $cwd = cwd();
|
|
|
|
|
$glib->add_typemaps (map {File::Spec->catfile($cwd,$_)} 'typemap');
|