Skip to content

Commit 7f8a19b

Browse files
committed
Wheels: copy the vcpkg manual-link dylibs on macOS
vcpkg installs the non thread safe libraw, needed by FreeImage, to lib/manual-link: delocate could not find it.
1 parent 5fce647 commit 7f8a19b

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

‎ci/wheels/deps/macos.sh‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,11 +104,12 @@ cmake -S occt-src -B occt-build -G "Unix Makefiles" \
104104
cmake --build occt-build -j"${NPROC}"
105105
cmake --install occt-build
106106

107-
# the 3rd party dylibs, for delocate. RapidJSON is header only, its
108-
# headers are included by the OCCT glTF headers: put them next to the
109-
# OCCT headers so that the pythonocc build finds them
107+
# the 3rd party dylibs, for delocate. vcpkg installs the non thread safe
108+
# libraw, needed by FreeImage, to lib/manual-link. RapidJSON is header
109+
# only, its headers are included by the OCCT glTF headers: put them next
110+
# to the OCCT headers so that the pythonocc build finds them
110111
VCPKG_INSTALLED="occt-build/vcpkg_installed/${TRIPLET}"
111-
cp -a "${VCPKG_INSTALLED}"/lib/*.dylib "${DEPS_PREFIX}/lib/"
112+
cp -a "${VCPKG_INSTALLED}"/lib/*.dylib "${VCPKG_INSTALLED}"/lib/manual-link/*.dylib "${DEPS_PREFIX}/lib/"
112113
cp -a "${VCPKG_INSTALLED}/include/rapidjson" "${DEPS_PREFIX}/include/opencascade/"
113114

114115
# the wheels only need the libraries, headers and cmake config

0 commit comments

Comments
 (0)