summaryrefslogtreecommitdiff
path: root/lang/perl5/files/patch-DynaLoader-Makefile.PL
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lang/perl5/files/patch-DynaLoader-Makefile.PL11
1 files changed, 11 insertions, 0 deletions
diff --git a/lang/perl5/files/patch-DynaLoader-Makefile.PL b/lang/perl5/files/patch-DynaLoader-Makefile.PL
new file mode 100644
index 000000000000..9d01fad88e5c
--- /dev/null
+++ b/lang/perl5/files/patch-DynaLoader-Makefile.PL
@@ -0,0 +1,11 @@
+--- ext/DynaLoader/Makefile.PL.orig Mon Nov 24 21:47:20 2003
++++ ext/DynaLoader/Makefile.PL Mon Nov 24 21:56:15 2003
+@@ -1,5 +1,8 @@
+ use ExtUtils::MakeMaker;
+
++my $ccflags = $Config::Config{ccflags};
++tied(%Config::Config)->{ccflags} = "$ccflags -DPIC -fPIC";
++
+ WriteMakefile(
+ NAME => 'DynaLoader',
+ LINKTYPE => 'static',