dclxvi: fix darwin build
This commit is contained in:
parent
58eb27f5ed
commit
7afc589d7d
|
@ -12,6 +12,14 @@ stdenv.mkDerivation {
|
|||
|
||||
buildFlags = [ "libdclxvipairing.so" ];
|
||||
|
||||
patchPhase = ''
|
||||
substituteInPlace Makefile \
|
||||
--replace "gcc" "cc"
|
||||
'' + stdenv.lib.optionalString stdenv.isDarwin ''
|
||||
substituteInPlace Makefile \
|
||||
--replace "-soname=libdclxvipairing.so" "-install_name,libdclxvipairing.so"
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/{include,lib}
|
||||
find . -name \*.h -exec cp {} $out/include \;
|
||||
|
|
Loading…
Reference in New Issue