Commit e489b2f6 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

add DBD-mysql-4.027.rpathsupport.patch.

parent 850c2c9a
--- DBD-mysql-4.027/Makefile.PL.orig 2014-03-14 19:34:06.000000000 +0100
+++ DBD-mysql-4.027/Makefile.PL 2014-05-10 07:34:50.497350471 +0200
@@ -974,7 +974,12 @@
delete $params{ABSTRACT_FROM} if $] < 5.005;
delete $params{BINARY_LOCATION} if $] < 5.005;
- ExtUtils::MakeMaker::WriteMakefile(%params);
+ my %config;
+ if (defined($ENV{'OTHERLDFLAGS'})) {
+ $config{dynamic_lib} = { OTHERLDFLAGS => " $ENV{'OTHERLDFLAGS'} " };
+ }
+
+ ExtUtils::MakeMaker::WriteMakefile(%params, %config);
}
__DATA__
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment