mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
ocaml: Add LDFLAGS to mlguestfs.cma/mlguestfs.cmxa.
Encode the build LDFLAGS into the OCaml library.
This commit is contained in:
@@ -67,11 +67,13 @@ endif
|
|||||||
stamp-mlguestfs: libguestfsocaml.a $(guestfs_cmm)
|
stamp-mlguestfs: libguestfsocaml.a $(guestfs_cmm)
|
||||||
$(OCAMLMKLIB) -o mlguestfs \
|
$(OCAMLMKLIB) -o mlguestfs \
|
||||||
$(libguestfsocaml_a_OBJECTS) guestfs.cmo \
|
$(libguestfsocaml_a_OBJECTS) guestfs.cmo \
|
||||||
|
$(LDFLAGS) \
|
||||||
$(LTLIBINTL) \
|
$(LTLIBINTL) \
|
||||||
-L$(top_builddir)/src/.libs -lguestfs
|
-L$(top_builddir)/src/.libs -lguestfs
|
||||||
if HAVE_OCAMLOPT
|
if HAVE_OCAMLOPT
|
||||||
$(OCAMLMKLIB) -o mlguestfs \
|
$(OCAMLMKLIB) -o mlguestfs \
|
||||||
$(libguestfsocaml_a_OBJECTS) guestfs.cmx \
|
$(libguestfsocaml_a_OBJECTS) guestfs.cmx \
|
||||||
|
$(LDFLAGS) \
|
||||||
$(LTLIBINTL) \
|
$(LTLIBINTL) \
|
||||||
-L$(top_builddir)/src/.libs -lguestfs
|
-L$(top_builddir)/src/.libs -lguestfs
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user