mirror of
https://github.com/Palakis/obs-websocket.git
synced 2024-08-30 18:12:16 +00:00
macOS CI: add debug statements for rpath fix
This commit is contained in:
parent
cc3097b09a
commit
30a19cfe8a
@ -27,7 +27,6 @@ cp $NET_LIB ./build
|
|||||||
chmod +rw ./build/QtWebSockets ./build/QtNetwork
|
chmod +rw ./build/QtWebSockets ./build/QtNetwork
|
||||||
|
|
||||||
echo "-- Modifying QtNetwork"
|
echo "-- Modifying QtNetwork"
|
||||||
# TODO : put a loop in there
|
|
||||||
install_name_tool \
|
install_name_tool \
|
||||||
-change /usr/local/opt/qt/lib/QtNetwork.framework/Versions/5/QtNetwork @rpath/QtNetwork \
|
-change /usr/local/opt/qt/lib/QtNetwork.framework/Versions/5/QtNetwork @rpath/QtNetwork \
|
||||||
-change /usr/local/opt/qt/lib/QtCore.framework/Versions/5/QtCore @rpath/QtCore \
|
-change /usr/local/opt/qt/lib/QtCore.framework/Versions/5/QtCore @rpath/QtCore \
|
||||||
@ -49,6 +48,14 @@ install_name_tool \
|
|||||||
-change "$QT_PREFIX/lib/QtCore.framework/Versions/5/QtCore" @rpath/QtCore \
|
-change "$QT_PREFIX/lib/QtCore.framework/Versions/5/QtCore" @rpath/QtCore \
|
||||||
./build/obs-websocket.so
|
./build/obs-websocket.so
|
||||||
|
|
||||||
|
# Check if replacement worked
|
||||||
|
echo "-- Dependencies for QtNetwork"
|
||||||
|
otool -l ./build/QtNetwork
|
||||||
|
echo "-- Dependencies for QtWebSockets"
|
||||||
|
otool -l ./build/QtWebSockets
|
||||||
|
echo "-- Dependencies for obs-websocket"
|
||||||
|
otool -l ./build/obs-websocket.so
|
||||||
|
|
||||||
chmod -w ./build/QtWebSockets ./build/QtNetwork
|
chmod -w ./build/QtWebSockets ./build/QtNetwork
|
||||||
|
|
||||||
echo "-- Actual package build"
|
echo "-- Actual package build"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user