From faac682f8604a4cb92c1b7303b5ab5c7c3bd853d Mon Sep 17 00:00:00 2001 From: ygrek Date: Mon, 16 Apr 2018 23:52:56 +0300 Subject: [PATCH] build: link nums only when BT is enabled (ref #27) to simplify building with OCaml 4.06 --- config/Makefile.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/config/Makefile.in b/config/Makefile.in index e492bbae..aade4df1 100644 --- a/config/Makefile.in +++ b/config/Makefile.in @@ -28,8 +28,8 @@ NO_LIBS_opt= NO_STATIC_LIBS_opt= NO_CMXA= -LIBS_byte=-custom bigarray.cma unix.cma str.cma nums.cma -LIBS_opt= bigarray.cmxa unix.cmxa str.cmxa nums.cmxa +LIBS_byte=-custom bigarray.cma unix.cma str.cma +LIBS_opt= bigarray.cmxa unix.cmxa str.cmxa BIGARRAY_LIBS_opt=bigarray.cmxa BIGARRAY_LIBS_byte=bigarray.cma @@ -591,6 +591,8 @@ BITSTRING_CMXA=bitstring.cmxa BITSTRING_CMA=bitstring.cma endif ifeq ("$(BITTORRENT)", "yes") +LIBS_byte += nums.cma +LIBS_opt += nums.cmxa BITSTRING_CMXA=bitstring.cmxa BITSTRING_CMA=bitstring.cma endif -- 2.11.4.GIT