neko: set cmake flag -DRUN_LDCONFIG=OFF
This commit is contained in:
parent
00befaff7e
commit
729b21adbb
@ -14,10 +14,10 @@ stdenv.mkDerivation rec {
|
|||||||
buildInputs =
|
buildInputs =
|
||||||
[ boehmgc zlib sqlite pcre cmake pkgconfig git apacheHttpd apr aprutil
|
[ boehmgc zlib sqlite pcre cmake pkgconfig git apacheHttpd apr aprutil
|
||||||
mariadb.client mbedtls openssl ]
|
mariadb.client mbedtls openssl ]
|
||||||
|
++ stdenv.lib.optional stdenv.isLinux gtk2
|
||||||
++ stdenv.lib.optionals stdenv.isDarwin [ pkgs.darwin.apple_sdk.frameworks.Security
|
++ stdenv.lib.optionals stdenv.isDarwin [ pkgs.darwin.apple_sdk.frameworks.Security
|
||||||
pkgs.darwin.apple_sdk.frameworks.Carbon]
|
pkgs.darwin.apple_sdk.frameworks.Carbon];
|
||||||
++ stdenv.lib.optional stdenv.isLinux gtk2;
|
cmakeFlags = [ "-DRUN_LDCONFIG=OFF" ];
|
||||||
|
|
||||||
prePatch = ''
|
prePatch = ''
|
||||||
sed -i -e '/allocated = strdup/s|"[^"]*"|"'"$out/lib/neko:$out/bin"'"|' vm/load.c
|
sed -i -e '/allocated = strdup/s|"[^"]*"|"'"$out/lib/neko:$out/bin"'"|' vm/load.c
|
||||||
'';
|
'';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user