[ocaml PATCH] build: build with CAML_NAME_SPACE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This way no non-namespaced OCaml C symbols are used, reducing the risk
of clashes with other code.

Signed-off-by: Pino Toscano <ptoscano@xxxxxxxxxx>
---
 libvirt/Makefile.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libvirt/Makefile.in b/libvirt/Makefile.in
index 3a68aed..77462c7 100644
--- a/libvirt/Makefile.in
+++ b/libvirt/Makefile.in
@@ -19,6 +19,7 @@ WIN32		= @WIN32@
 
 CFLAGS		= @CFLAGS@ \
 		   @LIBVIRT_CFLAGS@ \
+		   -DCAML_NAME_SPACE \
 		   -I.. \
 		   -I"$(shell ocamlc -where)" \
 		   @DEBUG@ @WARNINGS@ @CFLAGS_FPIC@
-- 
2.21.0

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux