Merge pull request #329033 from Jayman2000/fix-317553

vcpkg: fix binaries not being able to find libstdc++
This commit is contained in:
h7x4 2024-07-28 21:44:55 +02:00 committed by GitHub
commit 9412d1b908
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -27,6 +27,9 @@ stdenvNoCC.mkDerivation (finalAttrs: {
--replace-fail "arm-linux-gnueabihf-as" "armv7l-unknown-linux-gnueabihf-as" \
--replace-fail "arm-linux-gnueabihf-gcc" "armv7l-unknown-linux-gnueabihf-gcc" \
--replace-fail "arm-linux-gnueabihf-g++" "armv7l-unknown-linux-gnueabihf-g++"
# If we dont turn this off, then you wont be able to run binaries that
# are installed by vcpkg.
find triplets -name '*linux*.cmake' -exec bash -c 'echo "set(X_VCPKG_RPATH_KEEP_SYSTEM_PATHS ON)" >> "$1"' -- {} \;
'';
installPhase = ''