qt: remove install_name_tool stuff
hopefully it's not needed - the frameworks are no longer there
This commit is contained in:
parent
49dc36c9a8
commit
4ae5f8a92a
|
@ -374,24 +374,6 @@ stdenv.mkDerivation {
|
|||
''
|
||||
|
||||
+ (
|
||||
if stdenv.isDarwin
|
||||
then
|
||||
''
|
||||
fixDarwinDylibNames_rpath() {
|
||||
local flags=()
|
||||
|
||||
for fn in "$@"; do
|
||||
flags+=(-change "@rpath/$fn.framework/Versions/5/$fn" "$out/lib/$fn.framework/Versions/5/$fn")
|
||||
done
|
||||
|
||||
for fn in "$@"; do
|
||||
echo "$fn: fixing dylib"
|
||||
install_name_tool -id "$out/lib/$fn.framework/Versions/5/$fn" "''${flags[@]}" "$out/lib/$fn.framework/Versions/5/$fn"
|
||||
done
|
||||
}
|
||||
fixDarwinDylibNames_rpath "QtConcurrent" "QtPrintSupport" "QtCore" "QtSql" "QtDBus" "QtTest" "QtGui" "QtWidgets" "QtNetwork" "QtXml" "QtOpenGL"
|
||||
''
|
||||
else
|
||||
# fixup .pc file (where to find 'moc' etc.)
|
||||
''
|
||||
sed -i "$dev/lib/pkgconfig/Qt5Core.pc" \
|
||||
|
|
Loading…
Reference in New Issue