Skip to content

Commit 0f1a479

Browse files
committed
random notes/cleanups
1 parent e7e0d72 commit 0f1a479

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

cross_compile_ffmpeg.sh

+4-5
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,8 @@ do_configure() {
498498
}
499499

500500
do_make() {
501-
local extra_make_options="$1 -j $cpu_count"
501+
local extra_make_options="$1"
502+
extra_make_options="$extra_make_options -j $cpu_count"
502503
local cur_dir2=$(pwd)
503504
local touch_name=$(get_small_touchfile_name already_ran_make "$extra_make_options" )
504505

@@ -1173,7 +1174,7 @@ build_gnutls() {
11731174
generic_configure "--disable-doc --disable-tools --disable-cxx --disable-tests --disable-gtk-doc-html --disable-libdane --disable-nls --enable-local-libopts --disable-guile --with-included-libtasn1 --without-p11-kit"
11741175
do_make_and_make_install
11751176
if [[ $compiler_flavors != "native" ]]; then
1176-
# libsrt doesn't know how to use its pkg deps :| https://github.com/Haivision/srt/issues/565
1177+
# libsrt doesn't know how to use its pkg deps, so put them in as non-static deps :| https://github.com/Haivision/srt/issues/565
11771178
sed -i.bak 's/-lgnutls.*/-lgnutls -lcrypt32 -lnettle -lhogweed -lgmp -lidn2 -liconv -lunistring/' "$PKG_CONFIG_PATH/gnutls.pc"
11781179
if [[ $OSTYPE == darwin* ]]; then
11791180
sed -i.bak 's/-lgnutls.*/-lgnutls -framework Security -framework Foundation/' "$PKG_CONFIG_PATH/gnutls.pc"
@@ -1697,9 +1698,7 @@ build_fribidi() {
16971698
}
16981699

16991700
build_libsrt() {
1700-
# do_git_checkout https://github.com/Haivision/srt.git
1701-
#cd srt_git
1702-
#download_and_unpack_file https://codeload.github.com/Haivision/srt/tar.gz/v1.3.2 srt-1.3.2
1701+
# do_git_checkout https://github.com/Haivision/srt.git # might be able to use these days...?
17031702
download_and_unpack_file https://github.com/Haivision/srt/archive/v1.4.1.tar.gz srt-1.4.1
17041703
cd srt-1.4.1
17051704
if [[ $compiler_flavors != "native" ]]; then

0 commit comments

Comments
 (0)