From: Claudio Sacerdoti Coen Date: Wed, 6 Mar 2002 18:14:53 +0000 (+0000) Subject: -rpath used to record the path to use to search for dynamic libraries X-Git-Tag: V_0_3_0_debian_8~239 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=5f6722305ee6d068c790bb0e458bcb80a94f6e24;p=helm.git -rpath used to record the path to use to search for dynamic libraries which are not in LD_LIBRARY_PATH. (In our case, all the dynamic libraries of the bindings this one depends on.) --- diff --git a/helm/DEVEL/lablgtkmathview/Makefile.in b/helm/DEVEL/lablgtkmathview/Makefile.in index 48fb33754..782acb049 100644 --- a/helm/DEVEL/lablgtkmathview/Makefile.in +++ b/helm/DEVEL/lablgtkmathview/Makefile.in @@ -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