Skip to content

Commit

Permalink
Try to fix windows
Browse files Browse the repository at this point in the history
  • Loading branch information
pfeodrippe committed Jul 26, 2024
1 parent 2d5370f commit 4d8e04d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/jextract-libs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions src/vybe/panama.clj
Original file line number Diff line number Diff line change
Expand Up @@ -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}))))
Expand Down

0 comments on commit 4d8e04d

Please sign in to comment.