File tree 1 file changed +3
-5
lines changed 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -82,13 +82,11 @@ jniGccFlags := (
82
82
jniGccFlags.value.filterNot(_ == " -fPIC" ) ++
83
83
Seq (" -D_JNI_IMPLEMENTATION_" , " -Wl,--kill-at" ,
84
84
" -static-libgcc" , " -Wl,--version-script=" + PWD + " /libzstd-jni.so.map" )
85
- else if (System .getProperty(" os.name" ).toLowerCase startsWith " mac" ) {
86
- // For intel, target the latest version that supported 32bit binaries
87
- val target = if (System .getProperty(" os.arch" ) == " x86_64" ) Seq (" -mmacosx-version-min=10.14" ) else Seq ()
85
+ else if (System .getProperty(" os.name" ).toLowerCase startsWith " mac" )
88
86
// MacOS uses clang that does not support the "-static-libgcc" and version scripts,
89
87
// but visibility can be modified by `-exported_symbols_list`
90
- jniGccFlags.value ++ Seq (" -exported_symbols_list" , PWD + " /libzstd-jni.so.exported" ) ++ target
91
- } else
88
+ jniGccFlags.value ++ Seq (" -exported_symbols_list" , PWD + " /libzstd-jni.so.exported" )
89
+ else
92
90
// the default is compilation with GCC
93
91
jniGccFlags.value ++ Seq (
94
92
" -static-libgcc" , " -Wl,--version-script=" + PWD + " /libzstd-jni.so.map" )
You can’t perform that action at this time.
0 commit comments