mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
ocaml: Prefer -ccopt -L... instead of -cclib
Reported-by: Mohamed Akram Fixes: https://github.com/libguestfs/libguestfs/issues/191
This commit is contained in:
committed by
rwmjones
parent
e11583a03a
commit
137fde9f77
@@ -165,7 +165,7 @@ endif
|
||||
|
||||
if HAVE_OCAMLOPT
|
||||
%.opt: %.cmx mlguestfs.cmxa
|
||||
$(guestfs_am_v_ocamlopt)$(OCAMLFIND) ocamlopt $(OCAMLFLAGS) -cclib -L$(top_builddir)/lib/.libs -I . -package unix -linkpkg mlguestfs.cmxa $< -o $@
|
||||
$(guestfs_am_v_ocamlopt)$(OCAMLFIND) ocamlopt $(OCAMLFLAGS) -ccopt -L$(top_builddir)/lib/.libs -I . -package unix -linkpkg mlguestfs.cmxa $< -o $@
|
||||
endif
|
||||
|
||||
check-valgrind:
|
||||
|
||||
@@ -48,7 +48,7 @@ if HAVE_OCAML
|
||||
|
||||
noinst_SCRIPTS = create_disk debug_logging inspect_vm
|
||||
|
||||
OCAMLFINDFLAGS = -cclib -L$(top_builddir)/lib/.libs
|
||||
OCAMLFINDFLAGS = -ccopt -L$(top_builddir)/lib/.libs
|
||||
|
||||
if HAVE_OCAMLOPT
|
||||
create_disk: create_disk.ml
|
||||
|
||||
Reference in New Issue
Block a user