Skip to content

Commit 0e4803c

Browse files
committed
Initial commit
1 parent bd349fa commit 0e4803c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

CMakeLists.txt

+4
Original file line numberDiff line numberDiff line change
@@ -549,6 +549,10 @@ if (CMAKE_CROSSCOMPILING)
549549
list(APPEND FFMPEG_CONFIGURE_FLAGS "--as=${CMAKE_C_COMPILER}")
550550
list(APPEND FFMPEG_CONFIGURE_FLAGS "--ld=${CMAKE_C_COMPILER}")
551551
list(APPEND FFMPEG_CONFIGURE_FLAGS "--cc=${CMAKE_C_COMPILER}")
552+
553+
if ("${CMAKE_SYSTEM_NAME}" STREQUAL "Windows")
554+
list(APPEND FFMPEG_CONFIGURE_FLAGS "--ar=${CMAKE_AR}")
555+
endif()
552556
endif()
553557

554558
list(APPEND FFMPEG_CONFIGURE_FLAGS "--nm=${CMAKE_NM}")

0 commit comments

Comments
 (0)