AMB-plugins: fix cross compilation by replacing hardcoded g++ with CXX
This commit is contained in:
parent
793bbf3f0e
commit
4a841f87b8
|
@ -15,6 +15,7 @@ stdenv.mkDerivation rec {
|
||||||
sed -i 's@/usr/bin/install@install@g' Makefile
|
sed -i 's@/usr/bin/install@install@g' Makefile
|
||||||
sed -i 's@/bin/rm@rm@g' Makefile
|
sed -i 's@/bin/rm@rm@g' Makefile
|
||||||
sed -i 's@/usr/lib/ladspa@$(out)/lib/ladspa@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";
|
preInstall="mkdir -p $out/lib/ladspa";
|
||||||
|
|
Loading…
Reference in a new issue