oracle-instantclient: patchelf and wrap adrci and genezi, too

This commit is contained in:
Florian Klink 2018-05-17 17:38:32 +02:00
parent ccb4558a91
commit 7824c60a43

View File

@ -66,7 +66,7 @@ in stdenv.mkDerivation rec {
$lib
done
for exe in $out/bin/sqlplus; do
for exe in $out/bin/{adrci,genezi,sqlplus}; do
patchelf --set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker) \
--force-rpath --set-rpath "$out/lib:${libaio}/lib" \
$exe