void-packages/srcpkgs/janet/patches/dynlink.patch

16 lines
394 B
Diff

--- meson.build.orig
+++ meson.build
@@ -184,10 +184,11 @@
else
extra_cflags = []
endif
-janet_mainclient = executable('janet', janetc, mainclient_src,
+janet_mainclient = executable('janet', mainclient_src,
include_directories : incdir,
dependencies : [m_dep, dl_dep, thread_dep],
c_args : extra_cflags,
+ link_with : [libjanet],
install : true)
if meson.is_cross_build()