Change occurrences of gcc to the more general cc
This is done for the sake of Yosemite, which does not have gcc, and yet this change is also compatible with Linux.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{stdenv, fetchurl, patchelf, libusb}:
|
||||
|
||||
assert stdenv ? gcc && stdenv.gcc.libc != null;
|
||||
assert stdenv ? cc && stdenv.cc.libc != null;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "scmccid-5.0.11";
|
||||
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
|
||||
buildInputs = [ patchelf ];
|
||||
|
||||
installPhase = ''
|
||||
RPATH=${libusb}/lib:${stdenv.gcc.libc}/lib
|
||||
RPATH=${libusb}/lib:${stdenv.cc.libc}/lib
|
||||
|
||||
for a in proprietary/*/Contents/Linux/*.so*; do
|
||||
if ! test -L $a; then
|
||||
|
||||
Reference in New Issue
Block a user