mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
daemon: Use $(OCAMLLIB) instead of ocamlc -where
OCAMLLIB is already set to the value of ocamlc -where that was found at configure time, so there is no need to run that command again at build time.
This commit is contained in:
@@ -214,7 +214,7 @@ guestfsd_SOURCES = \
|
|||||||
zerofree.c
|
zerofree.c
|
||||||
|
|
||||||
guestfsd_LDFLAGS = \
|
guestfsd_LDFLAGS = \
|
||||||
-L$(shell $(OCAMLC) -where) \
|
-L$(OCAMLLIB) \
|
||||||
-L$(shell $(OCAMLFIND) query hivex) \
|
-L$(shell $(OCAMLFIND) query hivex) \
|
||||||
-L$(shell $(OCAMLFIND) query augeas) \
|
-L$(shell $(OCAMLFIND) query augeas) \
|
||||||
-L../common/mlutils \
|
-L../common/mlutils \
|
||||||
@@ -245,7 +245,7 @@ guestfsd_LDADD = \
|
|||||||
|
|
||||||
guestfsd_CPPFLAGS = \
|
guestfsd_CPPFLAGS = \
|
||||||
-DCAML_NAME_SPACE \
|
-DCAML_NAME_SPACE \
|
||||||
-I$(shell $(OCAMLC) -where) \
|
-I$(OCAMLLIB) \
|
||||||
-I$(top_srcdir)/gnulib/lib \
|
-I$(top_srcdir)/gnulib/lib \
|
||||||
-I$(top_builddir)/gnulib/lib \
|
-I$(top_builddir)/gnulib/lib \
|
||||||
-I$(top_srcdir)/lib \
|
-I$(top_srcdir)/lib \
|
||||||
@@ -422,7 +422,7 @@ daemon_utils_tests_CPPFLAGS = \
|
|||||||
-DCAML_NAME_SPACE \
|
-DCAML_NAME_SPACE \
|
||||||
-I. \
|
-I. \
|
||||||
-I$(top_builddir) \
|
-I$(top_builddir) \
|
||||||
-I$(shell $(OCAMLC) -where) \
|
-I$(OCAMLLIB) \
|
||||||
-I$(top_srcdir)/gnulib/lib \
|
-I$(top_srcdir)/gnulib/lib \
|
||||||
-I$(top_builddir)/gnulib/lib \
|
-I$(top_builddir)/gnulib/lib \
|
||||||
-I$(top_srcdir)/common/errnostring \
|
-I$(top_srcdir)/common/errnostring \
|
||||||
|
|||||||
Reference in New Issue
Block a user