Merge pull request #1033 from lovek323/phantomjs
phantomjs: add openssl to rpath
This commit is contained in:
commit
cbcba0a2f8
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, freetype, fontconfig }:
|
{ stdenv, fetchurl, freetype, fontconfig, openssl }:
|
||||||
|
|
||||||
assert stdenv.lib.elem stdenv.system [ "i686-linux" "x86_64-linux" ];
|
assert stdenv.lib.elem stdenv.system [ "i686-linux" "x86_64-linux" ];
|
||||||
|
|
||||||
@ -24,11 +24,12 @@ stdenv.mkDerivation rec {
|
|||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
patchelf \
|
patchelf \
|
||||||
--set-interpreter "$(cat $NIX_GCC/nix-support/dynamic-linker)" \
|
--set-interpreter "$(cat $NIX_GCC/nix-support/dynamic-linker)" \
|
||||||
--set-rpath ${freetype}/lib:${fontconfig}/lib:${stdenv.gcc.gcc}/lib64:${stdenv.gcc.gcc}/lib \
|
--set-rpath "${freetype}/lib:${fontconfig}/lib:${stdenv.gcc.gcc}/lib64:${stdenv.gcc.gcc}/lib:${openssl}/lib" \
|
||||||
bin/phantomjs
|
bin/phantomjs
|
||||||
'';
|
'';
|
||||||
|
|
||||||
dontStrip = true;
|
dontPatchELF = true;
|
||||||
|
dontStrip = true;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/share/doc/phantomjs
|
mkdir -p $out/share/doc/phantomjs
|
||||||
|
Loading…
x
Reference in New Issue
Block a user