mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-06-07 18:30:11 +08:00
[vcpkg_build_make] remove libtool artifacts (#15622)
This commit is contained in:
parent
3ddaeb4180
commit
af3c99bc65
@ -238,6 +238,12 @@ function(vcpkg_build_make)
|
|||||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}_tmp")
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}_tmp")
|
||||||
endif()
|
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)
|
if (CMAKE_HOST_WIN32)
|
||||||
set(ENV{PATH} "${PATH_GLOBAL}")
|
set(ENV{PATH} "${PATH_GLOBAL}")
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user