build: fix compile error
authorJim Meyering <meyering@redhat.com>
Fri, 2 Oct 2009 14:09:19 +0000 (16:09 +0200)
committerJim Meyering <meyering@redhat.com>
Fri, 2 Oct 2009 14:15:12 +0000 (16:15 +0200)
commitdde81c0c0e4d6517781392310768dfe8fe4392fe
tree04289c5ac0e5c0107969b31786077f08eede3a9b
parent9d25e82491ddcf495e1d30694327e4bfd3a23445
build: fix compile error

Link demo scripts with just-build library, not the installed one.
* ocaml/examples/Makefile.am (OCAMLFINDFLAGS): New variable.
(lvs, viewer): Use it.
This fix is based on a suggestion from Rich Jones.
This addresses RHBZ#526917.
ocaml/examples/Makefile.am