perl-gtk.patch 558 B

12345678910111213
  1. Index: Glib-1.140/Makefile.PL
  2. --- Glib-1.140/Makefile.PL.orig 2005-10-18 18:39:44 +0200
  3. +++ Glib-1.140/Makefile.PL 2006-01-02 16:28:17 +0100
  4. @@ -112,6 +112,8 @@
  5. # this will be inherited by dependant modules, so they can find their
  6. # generated files.
  7. $glib->set_inc ($glibcfg{cflags} . $gthreadcfg{cflags} . ' -I. ');
  8. +$gthreadcfg{libs} =~ s/-pthread/-lpthread/sg;
  9. +$gthreadcfg{libs} =~ s/(-lpthread)(.+)$/$2$1/s;
  10. $glib->set_libs ($glibcfg{libs} . $gthreadcfg{libs});
  11. my $cwd = cwd();
  12. $glib->add_typemaps (map {File::Spec->catfile($cwd,$_)} 'typemap');