git.annexia.org
/
virt-top.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd205ee
)
src: Use detected OCAMLLIB instead of $(libdir)/ocaml
author
Richard W.M. Jones
<rjones@redhat.com>
Fri, 28 Feb 2025 11:14:55 +0000
(11:14 +0000)
committer
Richard W.M. Jones
<rjones@redhat.com>
Fri, 28 Feb 2025 11:14:55 +0000
(11:14 +0000)
Using $(libdir)/ocaml fails if ./configure --libdir=.. isn't set
properly, and could be wrong anyway if there are other local changes
to the OCaml install. In ./configure we are already detecting the
correct path, so use that instead.
src/Makefile.am
patch
|
blob
|
history
diff --git
a/src/Makefile.am
b/src/Makefile.am
index
baf8ce4
..
638aa4f
100644
(file)
--- a/
src/Makefile.am
+++ b/
src/Makefile.am
@@
-81,7
+81,7
@@
bin_PROGRAMS = virt-top
virt_top_SOURCES = xml-c.c
virt_top_CFLAGS = \
$(LIBXML2_CFLAGS) \
- -I$(
libdir)/ocaml
+ -I$(
OCAMLLIB)
if !HAVE_OCAMLOPT
OBJECTS = $(BOBJS)