File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ LD='ld'
4949AR=' ar'
5050RANLIB=' ranlib'
5151LIBS_SHARED=' OFF'
52+ LIBS_STATIC=' OFF'
5253CMAKE_TOOLCHAIN=' '
5354# Always reset flags, we heavily cross-compile and must not inherit any stray flag
5455# from environment.
@@ -550,7 +551,7 @@ build_jpeg() {
550551
551552 cmake_build \
552553 -DENABLE_SHARED=" ${LIBS_SHARED} " \
553- -DCMAKE_SYSTEM_NAME=" ${SYSTEM_NAME } " \
554+ -DCMAKE_SYSTEM_NAME=" ${LIBS_STATIC } " \
554555 -DCMAKE_SYSTEM_PROCESSOR=" ${SYSTEM_PROCESSOR} " \
555556 -DWITH_JPEG8=1
556557}
@@ -1149,6 +1150,7 @@ common_setup_arch() {
11491150# supports %lld since Visual Studio 2013.
11501151common_setup_msvc () {
11511152 LIBS_SHARED=' ON'
1153+ LIBS_STATIC=' OFF'
11521154 # Libtool bug prevents -static-libgcc from being set in LDFLAGS
11531155 CC=" ${HOST} -gcc -static-libgcc"
11541156 CXX=" ${HOST} -g++ -static-libgcc"
You can’t perform that action at this time.
0 commit comments