perlPackages.DBDOracle: fix darwin build
This commit is contained in:
parent
47c60b3823
commit
472f3254a8
1 changed files with 5 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
{ fetchurl, buildPerlPackage, DBI, TestNoWarnings, oracle-instantclient }:
|
||||
{ stdenv, fetchurl, buildPerlPackage, DBI, TestNoWarnings, oracle-instantclient }:
|
||||
|
||||
buildPerlPackage {
|
||||
pname = "DBD-Oracle";
|
||||
|
@ -13,4 +13,8 @@ buildPerlPackage {
|
|||
|
||||
buildInputs = [ TestNoWarnings oracle-instantclient ] ;
|
||||
propagatedBuildInputs = [ DBI ];
|
||||
|
||||
postBuild = stdenv.lib.optionalString stdenv.isDarwin ''
|
||||
install_name_tool -add_rpath "${oracle-instantclient.lib}/lib" blib/arch/auto/DBD/Oracle/Oracle.bundle
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue