diff options
| author | Alexander Neumann <30894796+Neumann-A@users.noreply.github.com> | 2021-01-17 04:53:05 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-16 19:53:05 -0800 |
| commit | af3c99bc65d46e77900ae4e826866f134dc903ae (patch) | |
| tree | d4ab7f04ed6b8ecc3da39b691a9379760a227091 /scripts | |
| parent | 3ddaeb41800d263b5cffeef1c87b23bdc1f3b98f (diff) | |
| download | vcpkg-af3c99bc65d46e77900ae4e826866f134dc903ae.tar.gz vcpkg-af3c99bc65d46e77900ae4e826866f134dc903ae.zip | |
[vcpkg_build_make] remove libtool artifacts (#15622)
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/cmake/vcpkg_build_make.cmake | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/cmake/vcpkg_build_make.cmake b/scripts/cmake/vcpkg_build_make.cmake index a8b4a5694..5ebfe21f7 100755 --- a/scripts/cmake/vcpkg_build_make.cmake +++ b/scripts/cmake/vcpkg_build_make.cmake @@ -238,6 +238,12 @@ function(vcpkg_build_make) file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}_tmp")
endif()
+ # Remove libtool files since they contain absolute paths and are not necessary.
+ file(GLOB_RECURSE LIBTOOL_FILES "${CURRENT_PACKAGES_DIR}/**/*.la")
+ if(LIBTOOL_FILES)
+ file(REMOVE ${LIBTOOL_FILES})
+ endif()
+
if (CMAKE_HOST_WIN32)
set(ENV{PATH} "${PATH_GLOBAL}")
endif()
|
