mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
build: build C sources using OCaml API with CAML_NAME_SPACE
This way no non-namespaced OCaml C symbols are used, reducing the risk of clashes with other code. The only exception is ocaml-augeas, which does not build with CAML_NAME_SPACE; it will be fixed upstream, and it affects only ocaml-augeas itself.
This commit is contained in:
@@ -78,6 +78,7 @@ endif
|
||||
touch $@
|
||||
|
||||
libguestfsocaml_a_CPPFLAGS = \
|
||||
-DCAML_NAME_SPACE \
|
||||
-DGUESTFS_PRIVATE=1 \
|
||||
-I$(top_builddir) -I$(OCAMLLIB) -I$(top_srcdir)/ocaml \
|
||||
-I$(top_srcdir)/common/utils -I$(top_builddir)/common/utils \
|
||||
|
||||
Reference in New Issue
Block a user