]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.fastlz/native/compile.sh
Refresh native part of org.simantics.fastlz compilation instructions.
[simantics/platform.git] / bundles / org.simantics.fastlz / native / compile.sh
index 05aac11f921d6002be1d1903f9ee984dd35adb09..21899d5dda761c5123b1539cb6b00b9241ab0a51 100755 (executable)
@@ -54,7 +54,7 @@ output="../src/libfastlz-${kernel}-${arch}"
 
 case $kernel in
     darwin*)
-       output="${output}.jnilib"
+       output="${output}.dylib"
        ;;
     *)
        output="${output}.so"
@@ -65,7 +65,7 @@ echo "Architecture: $arch"
 echo "Output library: $output"
 echo "Compiler options: $options"
 
-gcc ${options} -o ${output} fastlz.c lz4.c lz4hc.c jniWrapper.c
+gcc ${options} -o ${output} fastlz.c jniWrapper.c
 
 size=`ls -l $output | cut -d " " -f 5`
 echo "library size before stripping: $size"