Skip to content

Commit

Permalink
Bundle libltdl manually.
Browse files Browse the repository at this point in the history
  • Loading branch information
Krakonos committed Sep 2, 2024
1 parent ca298b5 commit 216a396
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions ci/travis-osx-script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ set -ev
mkdir build && cd build
QT_PREFIX=`brew --prefix qt${QT_MAJOR}`
echo "Using QT_PREFIX=$QT_PREFIX"
find /usr/local -name "QtD*.framework"
find / -name "libltdl*"
ls -all /usr/local/lib/libltdl*
cmake .. -G"Unix Makefiles" -DCMAKE_PREFIX_PATH="$QT_PREFIX" -DCMAKE_BUILD_TYPE=Release -DEXTRA_TESTS=OFF
make -j4
make test
Expand Down
1 change: 1 addition & 0 deletions cmake/deploy-osx.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ endforeach()

execute_process(COMMAND find "${CPACK_TEMPORARY_INSTALL_DIRECTORY}")
execute_process(COMMAND ${MACDEPLOYQT} "${CPACK_TEMPORARY_INSTALL_DIRECTORY}/@[email protected]")
execute_process(COMMAND cp /usr/local/lib/libltdl.*.dylib "${CPACK_TEMPORARY_INSTALL_DIRECTORY}/@[email protected]/Contents/Frameworks/")
execute_process(COMMAND find "${CPACK_TEMPORARY_INSTALL_DIRECTORY}")

0 comments on commit 216a396

Please sign in to comment.