diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 5340844..c939a6d 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -59,6 +59,7 @@ if(STATIC_BUILD) # target_link_options is only supported by CMake 3.13+ set_property(TARGET linuxdeploy PROPERTY LINK_OPTIONS -static -static-libgcc -static-libstdc++) + set_property(TARGET linuxdeploy PROPERTY INTERFACE_LINK_OPTIONS -static -static-libgcc -static-libstdc++) endif() diff --git a/travis/build.sh b/travis/build.sh index 2800d6e..a582dad 100755 --- a/travis/build.sh +++ b/travis/build.sh @@ -37,7 +37,7 @@ fi cmake "$REPO_ROOT" -DSTATIC_BUILD=On -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RelWithDebInfo "${EXTRA_CMAKE_ARGS[@]}" -make -j$(nproc) +make VERBOSE=1 ## Run Unit Tests ctest -V @@ -63,6 +63,8 @@ fi patchelf_path="$(readlink -f out/usr/bin/patchelf)" export PATH="$(readlink -f out/usr/bin):$PATH" +ldd bin/linuxdeploy || true + # args are used more than once LINUXDEPLOY_ARGS=("--appdir" "AppDir" "-e" "bin/linuxdeploy" "-i" "$REPO_ROOT/resources/linuxdeploy.png" "-d" "$REPO_ROOT/resources/linuxdeploy.desktop" "-e" "$patchelf_path" "-e" "$strip_path")