Skip to content

Commit 3f33cb1

Browse files
authored
Merge pull request #666 from mitchcapper/native_build_dont_include_shlwapi_pr
Don't include windows only shlwapi for native builds
2 parents 9be2c8b + 9aa4570 commit 3f33cb1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

cross_compile_ffmpeg.sh

+4-1
Original file line numberDiff line numberDiff line change
@@ -2392,7 +2392,10 @@ build_ffmpeg() {
23922392

23932393
config_options+=" --extra-libs=-lharfbuzz" # grr...needed for pre x264 build???
23942394
config_options+=" --extra-libs=-lm" # libflite seemed to need this linux native...and have no .pc file huh?
2395-
config_options+=" --extra-libs=-lshlwapi" # lame needed this, no .pc file?
2395+
2396+
if [[ $compiler_flavors != "native" ]]; then
2397+
config_options+=" --extra-libs=-lshlwapi" # lame needed this, no .pc file?
2398+
fi
23962399
config_options+=" --extra-libs=-lmpg123" # ditto
23972400
config_options+=" --extra-libs=-lpthread" # for some reason various and sundry needed this linux native
23982401

0 commit comments

Comments
 (0)