mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2025-12-31 23:00:54 -08:00
When embedding ECL, the flag --rpath is also required, so that applications may find the ECL library.
This commit is contained in:
parent
bcff01450f
commit
a92f3a2214
2 changed files with 4 additions and 2 deletions
|
|
@ -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); \
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue