Skip to content

Commit 8df7e84

Browse files
committed
external_deps: do not install Linux shared libs
1 parent 5b82746 commit 8df7e84

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

external_deps/build.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1198,6 +1198,10 @@ build_install() {
11981198
# Fix import lib paths to use MSVC-style instead of MinGW ones (see 'genlib' target)
11991199
find "${PKG_PREFIX}/lib/cmake" -name '*.cmake' -execdir sed -i -E 's@[.]dll[.]a\b@.lib@g' {} \;
12001200
;;
1201+
linux-*-*)
1202+
find "${PKG_PREFIX}/lib" -name '*.so' -execdir rm -f -- {} \;
1203+
find "${PKG_PREFIX}/lib" -name '*.so.*' -execdir rm -f -- {} \;
1204+
;;
12011205
esac
12021206

12031207
case "${PLATFORM}" in

0 commit comments

Comments
 (0)