ocaml-num/0001-Use-ocamlfind-to-insta...

30 lines
784 B
Diff

From 6ea10de141eafd6ff1cd15c0ee4699fd2b8e2a7f Mon Sep 17 00:00:00 2001
From: "Richard W.M. Jones" <rjones@redhat.com>
Date: Wed, 8 Nov 2017 10:43:30 +0000
Subject: [PATCH] Use ocamlfind to install.
---
src/Makefile | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/src/Makefile b/src/Makefile
index 97dc074..2dd8cb3 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -83,11 +83,7 @@ endif
TOINSTALL_STUBS=dllnums.$(SO)
install:
- $(OCAMLFIND) install num META
- $(INSTALL_DATA) $(TOINSTALL) $(STDLIBDIR)
-ifeq "$(SUPPORTS_SHARED_LIBRARIES)" "true"
- $(INSTALL_DLL) $(TOINSTALL_STUBS) $(STDLIBDIR)/stublibs
-endif
+ $(OCAMLFIND) install -ldconf ignore num META $(TOINSTALL) $(TOINSTALL_STUBS)
uninstall:
cd $(STDLIBDIR) && rm -f $(TOINSTALL)
--
2.13.1