]> matita.cs.unibo.it Git - helm.git/commitdiff
-rpath used to record the path to use to search for dynamic libraries
authorClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Wed, 6 Mar 2002 18:14:53 +0000 (18:14 +0000)
committerClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Wed, 6 Mar 2002 18:14:53 +0000 (18:14 +0000)
which are not in LD_LIBRARY_PATH. (In our case, all the dynamic libraries
of the bindings this one depends on.)

helm/DEVEL/lablgtkmathview/Makefile.in

index 48fb3375449b18ad0648cf1318fcdf8ac2276cf1..782acb049c1ad62c803129dcd596aba87e5e2b36 100644 (file)
@@ -68,7 +68,8 @@ $(ARCHIVE_OPT) $(ARCHIVE_A): $(OBJECTS_OPT)
         -cclib "`glib-config --libs` `gdome-config --libs` `gtkmathview-config --libs`"
 
 $(ARCHIVE_SO): $(OBJECTS_C)
-       gcc -shared -o $@ $< `gtkmathview-config --libs` -lmlgdome -L `ocamlfind query gdome2`
+       gcc -shared -o $@ $< `gtkmathview-config --libs` -lmlgdome -L `ocamlfind query gdome2` -Xlinker -rpath -Xlinker `ocamlfind query gdome2`
+
 
 
 $(TESTDIR)/test: $(OBJECTS_C) $(ARCHIVE) $(TESTDIR)/test.ml