File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ export EMSCRIPTEN_SYS_ROOT="$EMSCRIPTEN_UPSTREAM_ROOT/cache/sysroot"
4848EMSCRIPTEN_SYS_LIB_DIR=" $EMSCRIPTEN_SYS_ROOT /lib/wasm32-emscripten"
4949EMSCRIPTEN_SYS_PKGCONFIG_DIR=" $EMSCRIPTEN_SYS_ROOT /lib/pkgconfig"
5050
51- export PKG_CONFIG_PATH=" $EMSCRIPTEN_SYS_PKGCONFIG_DIR : $EMSCRIPTEN_SYS_LIB_DIR /pkgconfig "
51+ export PKG_CONFIG_PATH=" $EMSCRIPTEN_SYS_PKGCONFIG_DIR "
5252
5353export CC=" emcc"
5454export CXX=" em++"
@@ -103,12 +103,16 @@ if [ "$COMPILE_TYPE" == "complete_rebuild" ] || ! [ -e "$BUILD_FFMPEG_FILE" ]; t
103103 --host=i686-gnu \
104104 --sysroot=" $EMSCRIPTEN_SYS_ROOT " \
105105 --prefix=" $EMSCRIPTEN_SYS_ROOT " \
106- --libdir=" $EMSCRIPTEN_SYS_LIB_DIR "
106+ --libdir=" $EMSCRIPTEN_SYS_LIB_DIR "
107107
108108 emmake make -j
109109
110110 emmake make install
111111
112+ # move pkgconfig file into correct folder
113+
114+ find " $EMSCRIPTEN_SYS_LIB_DIR /pkgconfig/" -name " *.pc" -exec mv {} " $EMSCRIPTEN_SYS_PKGCONFIG_DIR /" \;
115+
112116 touch " $BUILD_LIBX264_FILE "
113117
114118 fi
You can’t perform that action at this time.
0 commit comments