From 83dda9824095aa98a5243ae0d639e473c0d58846 Mon Sep 17 00:00:00 2001 From: Calvin Rose Date: Thu, 29 Apr 2021 14:28:54 -0500 Subject: [PATCH] Update jpm to work post patch. --- jpm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/jpm b/jpm index 47f27885..0366d0de 100755 --- a/jpm +++ b/jpm @@ -55,10 +55,12 @@ # linking to external libraries, modify this. # # Example - (def- extra-lflags ["-lmimalloc"]) -(def- extra-lflags []) ###END### +(compwhen (not (dyn 'extra-lflags)) + (def- extra-lflags [])) + # Default based on janet binary location (def JANET_HEADERPATH (or (os/getenv "JANET_HEADERPATH") (get (install-paths) :headerpath)))