Skip to content

Commit 9ba5f11

Browse files
committed
external-deps: fix pkgconfig macos build
1 parent ef8afe6 commit 9ba5f11

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

external_deps/build.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ download_extract() {
167167
}
168168

169169
# Build pkg-config
170+
# Still needed, at least on macos, for opusfile
170171
build_pkgconfig() {
171172
local dir_name="pkg-config-${PKGCONFIG_VERSION}"
172173
local archive_name="${dir_name}.tar.gz"
@@ -178,7 +179,7 @@ build_pkgconfig() {
178179

179180
cd "${dir_name}"
180181
# The default -O2 is dropped when there's user-provided CFLAGS.
181-
CFLAGS="${CFLAGS} -O2" ./configure --host="${HOST}" --prefix="${PREFIX}" --libdir="${PREFIX}/lib" --with-internal-glib
182+
CFLAGS="${CFLAGS} -O2 -Wno-error=int-conversion" ./configure --host="${HOST}" --prefix="${PREFIX}" --libdir="${PREFIX}/lib" --with-internal-glib
182183
make
183184
make install
184185
}

0 commit comments

Comments
 (0)