When embedding ECL, the flag --rpath is also required, so that applications may find the ECL library.

This commit is contained in:
jjgarcia 2003-10-31 16:34:08 +00:00
parent bcff01450f
commit a92f3a2214
2 changed files with 4 additions and 2 deletions

View file

@ -91,7 +91,9 @@ install: BUILD-STAMP
$(INSTALL) -s $$i $(PREFIX)$(bindir); \
done
$(INSTALL_PROGRAM) -s $(TARGETS) $(PREFIX)$(bindir)
$(INSTALL_PROGRAM) ecl-config $(PREFIX)$(bindir)
sed 's,~A,$(libdir),;s,~\*,,;' ecl-config > aux; \
$(INSTALL_PROGRAM) aux $(PREFIX)$(bindir)/ecl-config; \
rm aux
$(INSTALL_DATA) $(srcdir)/etc/ecl.1 $(PREFIX)$(mandir)
for i in BUILD-STAMP $(LSP_LIBRARIES) $(LIBRARIES) c/dpp* help.doc ; do \
$(INSTALL_DATA) $$i $(PREFIX)$(libdir); \

View file

@ -35,5 +35,5 @@ if test "$echo_cflags" = "yes"; then
fi
if test "$echo_ldflags" = "yes"; then
echo "-L@libdir@ $LDFLAGS -llsp @LDFLAGS@ @CLIBS@"
echo "@LDRPATH@ -L@libdir@ $LDFLAGS @LDFLAGS@ @CLIBS@"
fi