Commit 910a3a6a authored by Pino Toscano's avatar Pino Toscano

build: do not set LIBRARY_PATH & LD_LIBRARY_PATH

They do not actually help, and rather get in the way when using them to
point to a custom location of libvirt.
Signed-off-by: Pino Toscano's avatarPino Toscano <ptoscano@redhat.com>
parent 165ac9e1
......@@ -24,9 +24,6 @@ OCAMLOPTPACKAGES := $(OCAMLCPACKAGES)
OCAMLOPTFLAGS := -g -warn-error CDEFLMPSUVYZX-3
OCAMLOPTLIBS := $(OCAMLCLIBS)
export LIBRARY_PATH=../libvirt
export LD_LIBRARY_PATH=../libvirt
BYTE_TARGETS := list_domains list_secrets node_info get_cpu_stats \
get_all_domain_stats domain_events
OPT_TARGETS := $(BYTE_TARGETS:%=%.opt)
......
......@@ -49,9 +49,6 @@ OCAMLOPTINCS := $(OCAMLCINCS)
OCAMLOPTLIBS := unix.cmxa
endif
export LIBRARY_PATH=.
export LD_LIBRARY_PATH=.
BYTE_TARGETS := mllibvirt.cma
OPT_TARGETS := mllibvirt.cmxa
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment