diff --git a/CMakeLists.txt b/CMakeLists.txt index 9c0f35f2..a1df347e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -553,7 +553,7 @@ list(APPEND MERKAARTOR_LINK_LIBS ${PKGCONFIG_DEPS_LIBRARIES}) link_directories(${PKGCONFIG_DEPS_LIBRARY_DIRS}) if (APPLE) - list(APPEND MERKAARTOR_LINK_LIBS "-lltdl") + list(APPEND MERKAARTOR_LINK_LIBS "-llibtool") endif() diff --git a/ci/travis-osx-script.sh b/ci/travis-osx-script.sh index 6191ed87..5a451326 100755 --- a/ci/travis-osx-script.sh +++ b/ci/travis-osx-script.sh @@ -6,6 +6,7 @@ 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*" cmake .. -G"Unix Makefiles" -DCMAKE_PREFIX_PATH="$QT_PREFIX" -DCMAKE_BUILD_TYPE=Release -DEXTRA_TESTS=OFF make -j4 make test