Skip to content

Commit 72d897b

Browse files
committed
rsvg: use plain builtype to ensure CARGO_PROFILE_* is respected
1 parent 7f16f4e commit 72d897b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/posix.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ sed -i'.bak' "/^if host_system in \['windows'/s/, 'linux'//" meson.build
352352
cargo update --workspace
353353
# Remove the --static flag from the PKG_CONFIG env since Rust does not
354354
# parse that correctly.
355-
PKG_CONFIG=${PKG_CONFIG/ --static/} meson setup _build --default-library=static --buildtype=release --strip --prefix=${TARGET} ${MESON} \
355+
PKG_CONFIG=${PKG_CONFIG/ --static/} meson setup _build --default-library=static --buildtype=plain --strip --prefix=${TARGET} ${MESON} \
356356
-Dintrospection=disabled -Dpixbuf{,-loader}=disabled -Ddocs=disabled -Dvala=disabled -Dtests=false \
357357
${RUST_TARGET:+-Dtriplet=$RUST_TARGET}
358358
meson install -C _build --tag devel

0 commit comments

Comments
 (0)