pkgsrc-ng/sysutils/xentools41/patches/patch-ocaml_Makefile.rules
2013-09-26 17:14:40 +02:00

14 lines
527 B
Plaintext

$NetBSD: patch-ocaml_Makefile.rules,v 1.1 2013/03/15 16:10:58 is Exp $
--- ocaml/Makefile.rules.orig 2012-08-10 13:51:28.000000000 +0000
+++ ocaml/Makefile.rules
@@ -65,7 +65,7 @@ define OCAML_LIBRARY_template
$(1)_stubs.a: $(foreach obj,$$($(1)_C_OBJS),$(obj).o)
$(call mk-caml-stubs,$$@, $$+)
lib$(1)_stubs.a: $(foreach obj,$($(1)_C_OBJS),$(obj).o)
- $(call mk-caml-lib-stubs,$$@, $$+, $(LIBS_$(1)))
+ $(call mk-caml-lib-stubs,$$@, $$+, -dllpath $(PREFIX)/lib $(LIBS_$(1)))
endef
define OCAML_NOC_LIBRARY_template