chromium/plugins: specify gcc instead of stdenv.cc

This commit is contained in:
Herwig Hochleitner 2018-10-24 21:56:13 +02:00
parent d2daf0dd6f
commit 7eea24db5d

View File

@ -1,4 +1,4 @@
{ stdenv
{ stdenv, gcc
, jshon
, glib
, nspr
@ -69,7 +69,7 @@ let
! find -iname '*.so' -exec ldd {} + | grep 'not found'
'';
PATCH_RPATH = mkrpath [ stdenv.cc.cc glib nspr nss ];
PATCH_RPATH = mkrpath [ gcc.cc glib nspr nss ];
patchPhase = ''
chmod +x libwidevinecdm.so libwidevinecdmadapter.so
@ -110,7 +110,7 @@ let
patchPhase = ''
chmod +x libpepflashplayer.so
patchelf --set-rpath "${mkrpath [ stdenv.cc.cc ]}" libpepflashplayer.so
patchelf --set-rpath "${mkrpath [ gcc.cc ]}" libpepflashplayer.so
'';
doCheck = true;