Closed ChengWu-NJ closed 8 months ago
modify bugs in build.sh
line276: sed -i '' 's/-lgcc_s/-lgcc_eh/g' x265.pc --> sed -i 's/-lgcc_s/-lgcc_eh/g' x265.pc
line344: sed -i "" "s/prefix=./prefix=${TARGET_DIR_SED}/" ./Makefile --> sed -i "s/prefix=./prefix=${TARGET_DIR_SED}/" ./Makefile
line361: sed -i "" "s/vidstab SHARED/vidstab STATIC/" ./CMakeLists.txt --> sed -i "s/vidstab SHARED/vidstab STATIC/" ./CMakeLists.txt
BSD sed (as used on MacOS X) needs those quotation marks after -i, i.e. the build fails on Mac after this change.
-i
modify bugs in build.sh
line276: sed -i '' 's/-lgcc_s/-lgcc_eh/g' x265.pc --> sed -i 's/-lgcc_s/-lgcc_eh/g' x265.pc
line344: sed -i "" "s/prefix=./prefix=${TARGET_DIR_SED}/" ./Makefile --> sed -i "s/prefix=./prefix=${TARGET_DIR_SED}/" ./Makefile
line361: sed -i "" "s/vidstab SHARED/vidstab STATIC/" ./CMakeLists.txt --> sed -i "s/vidstab SHARED/vidstab STATIC/" ./CMakeLists.txt