Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
bundle libpng
  • Loading branch information
arturadib committed Apr 13, 2012
1 parent bfe6977 commit 0743fca
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions deps/qt-4.8.0/darwin/x64/import_qt
Expand Up @@ -43,7 +43,11 @@ install_name_tool -id lib/QtTest.framework/QtTest lib/QtTest.framework/QtTest
install_name_tool -change ${QT_PATH}/lib/QtCore.framework/Versions/4/QtCore lib/QtCore.framework/QtCore lib/QtGui.framework/QtGui
install_name_tool -change ${QT_PATH}/lib/QtCore.framework/Versions/4/QtCore lib/QtCore.framework/QtCore lib/QtTest.framework/QtTest

# Fix libpng (we need libpng as per: https://github.com/arturadib/node-qt/issues/5)
install_name_tool -change /usr/X11/lib/libpng15.15.dylib libpng15.15.dylib lib/QtGui.framework/QtGui

# Break unncessary references to old path to avoid Qt's weird fallback
# (find command only matches binary files like QtCore, not QtCore.prl)
find lib -type f -name 'Qt*' ! -name '*.*' | xargs sed -i.bak -E 's/Cellar/______/g'
find lib -name '*.bak' | xargs rm -f

Binary file modified deps/qt-4.8.0/darwin/x64/lib/QtCore.framework/QtCore
Binary file not shown.
Binary file modified deps/qt-4.8.0/darwin/x64/lib/QtGui.framework/QtGui
Binary file not shown.
Binary file modified deps/qt-4.8.0/darwin/x64/lib/QtTest.framework/QtTest
Binary file not shown.
Binary file added deps/qt-4.8.0/darwin/x64/libpng15.15.dylib
Binary file not shown.

0 comments on commit 0743fca

Please sign in to comment.