Commit 20f230dd authored by Jerome Wu's avatar Jerome Wu

Update x265 build script

parent 94b94772
...@@ -54,8 +54,7 @@ ln -sf ../10bit/libx265.a libx265_main10.a ...@@ -54,8 +54,7 @@ ln -sf ../10bit/libx265.a libx265_main10.a
ln -sf ../12bit/libx265.a libx265_main12.a ln -sf ../12bit/libx265.a libx265_main12.a
emmake cmake ../.. -DCMAKE_CXX_FLAGS="$CXXFLAGS" ${FLAGS_MAIN[@]} emmake cmake ../.. -DCMAKE_CXX_FLAGS="$CXXFLAGS" ${FLAGS_MAIN[@]}
emmake make clean emmake make clean
emmake make install -j emmake make -j
mv libx265.a libx265_main.a mv libx265.a libx265_main.a
# Merge static libraries # Merge static libraries
...@@ -67,7 +66,7 @@ ADDLIB libx265_main12.a ...@@ -67,7 +66,7 @@ ADDLIB libx265_main12.a
SAVE SAVE
END END
EOF EOF
emmake make install
cp libx265.a $BUILD_DIR/lib
cd $ROOT_DIR cd $ROOT_DIR
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment