Skip to content

Commit 87c8984

Browse files
authored
build(linux): Suppress find error when GPAC is not installed
2 parents 6fdfde0 + 5715d6d commit 87c8984

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

linux/build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ BLD_INCLUDE="-I../src -I /usr/include/leptonica/ -I /usr/include/tesseract/ -I..
4040
SRC_LIBPNG="$(find ../src/thirdparty/libpng/ -name '*.c')"
4141
SRC_ZLIB="$(find ../src/thirdparty/zlib/ -name '*.c')"
4242
SRC_CCX="$(find ../src/lib_ccx/ -name '*.c')"
43-
SRC_GPAC="$(find /usr/include/gpac/ -name '*.c')"
43+
SRC_GPAC="$(find /usr/include/gpac/ -name '*.c' 2>/dev/null)"
4444
SRC_HASH="$(find ../src/thirdparty/lib_hash/ -name '*.c')"
4545
SRC_UTF8PROC="../src/thirdparty/utf8proc/utf8proc.c"
4646
SRC_FREETYPE="../src/thirdparty/freetype/autofit/autofit.c

0 commit comments

Comments
 (0)