Skip to content

Commit b5824f1

Browse files
matyalattetimschumi
authored andcommitted
Ports/harfbuzz: Enable optimized shared build
1 parent 0583260 commit b5824f1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Ports/harfbuzz/package.sh

+3-2
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,15 @@ useconfigure='true'
88
depends=("freetype" "libicu")
99
configopts=(
1010
"-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt"
11+
'-DCMAKE_BUILD_TYPE=Release'
12+
'-DBUILD_SHARED_LIBS=ON'
1113
'-DHB_HAVE_FREETYPE=ON'
1214
'-DHB_HAVE_ICU=ON'
13-
'-DCMAKE_C_FLAGS=-lfreetype'
1415
)
1516

1617
configure() {
1718
run mkdir -p build
18-
run sh -c "cd build && cmake .. ${configopts[@]}"
19+
run cmake -S . -B build "${configopts[@]}"
1920
}
2021

2122
build() {

0 commit comments

Comments
 (0)