diff --git a/bin/jextract-libs.sh b/bin/jextract-libs.sh index f717b216..ccdda7fa 100755 --- a/bin/jextract-libs.sh +++ b/bin/jextract-libs.sh @@ -73,7 +73,8 @@ echo "Extracting Jolt Physics" if [[ $VYBE_EXTENSION == "dll" ]]; then $VYBE_JEXTRACT \ - -l ":${VYBE_TMP_PREFIX}/tmp/pfeodrippe_vybe_native/${VYBE_LIB_PREFIX}joltc_zig.$VYBE_EXTENSION" \ + --use-system-load-library \ + --library joltc_zig \ --output src-java \ --header-class-name jolt \ -t org.vybe.jolt bin/vybe_jolt.c diff --git a/src/vybe/panama.clj b/src/vybe/panama.clj index 32abc30d..de0faa6d 100644 --- a/src/vybe/panama.clj +++ b/src/vybe/panama.clj @@ -32,6 +32,7 @@ [resource-filename] (if-let [resource-file (io/resource resource-filename)] (let [tmp-file (io/file "/tmp/pfeodrippe_vybe_native" resource-filename)] + (println :COPYING_RESOURCE resource-filename tmp-file) (io/make-parents tmp-file) (with-open [in (io/input-stream resource-file)] (io/copy in tmp-file))) (throw (ex-info "Resource does not exist" {:resource resource-filename}))))