libwebsockets: fix build for ca-derivations
see analog example of this fix in firefox in #297466 Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
This commit is contained in:
@@ -43,7 +43,7 @@ stdenv.mkDerivation rec {
|
|||||||
);
|
);
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
find "$out" -type f -exec remove-references-to -t ${stdenv.cc} '{}' +
|
find "$out" -type f -exec remove-references-to -t ${stdenv.cc.cc} '{}' +
|
||||||
# Fix path that will be incorrect on move to "dev" output.
|
# Fix path that will be incorrect on move to "dev" output.
|
||||||
substituteInPlace "$out/lib/cmake/libwebsockets/LibwebsocketsTargets-release.cmake" \
|
substituteInPlace "$out/lib/cmake/libwebsockets/LibwebsocketsTargets-release.cmake" \
|
||||||
--replace "\''${_IMPORT_PREFIX}" "$out"
|
--replace "\''${_IMPORT_PREFIX}" "$out"
|
||||||
|
|||||||
Reference in New Issue
Block a user