Merge pull request #186428 from NickCao/amb-cross

AMB-plugins: fix cross compilation by replacing hardcoded g++ with CXX
This commit is contained in:
Guillaume Girol 2022-11-26 19:18:06 +00:00 committed by GitHub
commit 50e0b80104
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,6 +15,7 @@ stdenv.mkDerivation rec {
sed -i 's@/usr/bin/install@install@g' Makefile
sed -i 's@/bin/rm@rm@g' Makefile
sed -i 's@/usr/lib/ladspa@$(out)/lib/ladspa@g' Makefile
sed -i 's@g++@$(CXX)@g' Makefile
'';
preInstall="mkdir -p $out/lib/ladspa";