Add comments on link fixes
This commit is contained in:
committed by
June Strawberry
parent
5aea9d139b
commit
dbc208d5d9
@@ -197,18 +197,19 @@ craneLib.buildPackage ( commonAttrs // rec {
|
|||||||
env = buildDepsOnlyEnv;
|
env = buildDepsOnlyEnv;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
# Adds runpath settings to the resulting binary
|
||||||
buildInputs = (commonAttrs.buildInputs or []) ++ [
|
buildInputs = (commonAttrs.buildInputs or []) ++ [
|
||||||
rocksdb'
|
rocksdb'
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeBuildInputs = (commonAttrs.nativeBuildInputs or []) ++ [
|
nativeBuildInputs = (commonAttrs.nativeBuildInputs or []) ++ [
|
||||||
autoPatchelfHook
|
autoPatchelfHook
|
||||||
];
|
];
|
||||||
|
# This is needed for tests to link
|
||||||
|
LD_LIBRARY_PATH = lib.makeLibraryPath buildInputs;
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
pkgsBuildHost.libredirect.hook
|
pkgsBuildHost.libredirect.hook
|
||||||
];
|
];
|
||||||
LD_LIBRARY_PATH = lib.makeLibraryPath buildInputs;
|
|
||||||
|
|
||||||
preCheck =
|
preCheck =
|
||||||
let
|
let
|
||||||
|
|||||||
Reference in New Issue
Block a user