mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-08 05:27:57 +03:00
libcxxabi: Skip dylib fixups for version symlinks
Apart from being a no-op, this seems to cause the install to make a copy, rather than keeping the symlinks intact.
This commit is contained in:
parent
67f11a2185
commit
252ea6511d
@ -42,6 +42,8 @@ stdenv.mkDerivation {
|
||||
|
||||
preInstall = lib.optionalString stdenv.isDarwin ''
|
||||
for file in lib/*.dylib; do
|
||||
if [ -L "$file" ]; then continue; fi
|
||||
|
||||
# Fix up the install name. Preserve the basename, just replace the path.
|
||||
installName="$out/lib/$(basename $(otool -D $file | tail -n 1))"
|
||||
|
||||
|
@ -46,6 +46,8 @@ stdenv.mkDerivation {
|
||||
|
||||
preInstall = lib.optionalString stdenv.isDarwin ''
|
||||
for file in lib/*.dylib; do
|
||||
if [ -L "$file" ]; then continue; fi
|
||||
|
||||
# Fix up the install name. Preserve the basename, just replace the path.
|
||||
installName="$out/lib/$(basename $(otool -D $file | tail -n 1))"
|
||||
|
||||
|
@ -44,6 +44,8 @@ stdenv.mkDerivation {
|
||||
|
||||
preInstall = lib.optionalString stdenv.isDarwin ''
|
||||
for file in lib/*.dylib; do
|
||||
if [ -L "$file" ]; then continue; fi
|
||||
|
||||
# Fix up the install name. Preserve the basename, just replace the path.
|
||||
installName="$out/lib/$(basename $(otool -D $file | tail -n 1))"
|
||||
|
||||
|
@ -41,6 +41,8 @@ stdenv.mkDerivation rec {
|
||||
|
||||
preInstall = lib.optionalString stdenv.isDarwin ''
|
||||
for file in lib/*.dylib; do
|
||||
if [ -L "$file" ]; then continue; fi
|
||||
|
||||
# Fix up the install name. Preserve the basename, just replace the path.
|
||||
installName="$out/lib/$(basename $(otool -D $file | tail -n 1))"
|
||||
|
||||
|
@ -52,6 +52,8 @@ stdenv.mkDerivation rec {
|
||||
installPhase = if stdenv.isDarwin
|
||||
then ''
|
||||
for file in lib/*.dylib; do
|
||||
if [ -L "$file" ]; then continue; fi
|
||||
|
||||
# Fix up the install name. Preserve the basename, just replace the path.
|
||||
installName="$out/lib/$(basename $(otool -D $file | tail -n 1))"
|
||||
|
||||
|
@ -27,6 +27,8 @@ stdenv.mkDerivation {
|
||||
|
||||
preInstall = lib.optionalString stdenv.isDarwin ''
|
||||
for file in lib/*.dylib; do
|
||||
if [ -L "$file" ]; then continue; fi
|
||||
|
||||
# Fix up the install name. Preserve the basename, just replace the path.
|
||||
installName="$out/lib/$(basename $(otool -D $file | tail -n 1))"
|
||||
|
||||
|
@ -27,6 +27,8 @@ stdenv.mkDerivation {
|
||||
|
||||
preInstall = lib.optionalString stdenv.isDarwin ''
|
||||
for file in lib/*.dylib; do
|
||||
if [ -L "$file" ]; then continue; fi
|
||||
|
||||
# Fix up the install name. Preserve the basename, just replace the path.
|
||||
installName="$out/lib/$(basename $(otool -D $file | tail -n 1))"
|
||||
|
||||
|
@ -46,6 +46,8 @@ stdenv.mkDerivation {
|
||||
|
||||
preInstall = lib.optionalString stdenv.isDarwin ''
|
||||
for file in lib/*.dylib; do
|
||||
if [ -L "$file" ]; then continue; fi
|
||||
|
||||
# Fix up the install name. Preserve the basename, just replace the path.
|
||||
installName="$out/lib/$(basename $(otool -D $file | tail -n 1))"
|
||||
|
||||
|
@ -42,6 +42,8 @@ stdenv.mkDerivation {
|
||||
|
||||
preInstall = lib.optionalString stdenv.isDarwin ''
|
||||
for file in lib/*.dylib; do
|
||||
if [ -L "$file" ]; then continue; fi
|
||||
|
||||
# Fix up the install name. Preserve the basename, just replace the path.
|
||||
installName="$out/lib/$(basename $(otool -D $file | tail -n 1))"
|
||||
|
||||
|
@ -42,6 +42,8 @@ stdenv.mkDerivation {
|
||||
|
||||
preInstall = lib.optionalString stdenv.isDarwin ''
|
||||
for file in lib/*.dylib; do
|
||||
if [ -L "$file" ]; then continue; fi
|
||||
|
||||
# Fix up the install name. Preserve the basename, just replace the path.
|
||||
installName="$out/lib/$(basename $(otool -D $file | tail -n 1))"
|
||||
|
||||
|
@ -70,6 +70,8 @@ stdenv.mkDerivation rec {
|
||||
|
||||
preInstall = lib.optionalString stdenv.isDarwin ''
|
||||
for file in lib/*.dylib; do
|
||||
if [ -L "$file" ]; then continue; fi
|
||||
|
||||
# Fix up the install name. Preserve the basename, just replace the path.
|
||||
installName="$out/lib/$(basename $(otool -D $file | tail -n 1))"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user