mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-06 09:20:40 -08:00
LDRPATH needs a different value when --disable-shared is used
This commit is contained in:
parent
9c2784e058
commit
90d7e3b3ed
2 changed files with 6 additions and 4 deletions
8
src/configure
vendored
8
src/configure
vendored
|
|
@ -4076,7 +4076,7 @@ TARGETS="ecl${EXEEXT}"
|
|||
LIBRARIES=""
|
||||
LSP_LIBRARIES="libecl.a"
|
||||
SUBDIR=c
|
||||
CLIBS="-lecl ${CLIBS} -lgmp -lm"
|
||||
CLIBS="${CLIBS} -lgmp -lm"
|
||||
if test ${boehm} = "no" ; then
|
||||
EXTRA_OBJS="${EXTRA_OBJS} alloc.o gbc.o"
|
||||
else
|
||||
|
|
@ -4087,7 +4087,6 @@ else
|
|||
else
|
||||
BOEHM_HEADERS=""
|
||||
fi
|
||||
CLIBS="-lgc ${CLIBS}"
|
||||
EXTRA_OBJS="${EXTRA_OBJS} alloc_2.o"
|
||||
cat >>confdefs.h <<\_ACEOF
|
||||
#define GBC_BOEHM 1
|
||||
|
|
@ -4099,8 +4098,9 @@ if test ${shared} = "yes"; then
|
|||
#define ENABLE_DLOPEN 1
|
||||
_ACEOF
|
||||
|
||||
LSP_LIBRARIES="libecl.so"
|
||||
LDFLAGS="${LDRPATH} ${LDFLAGS}"
|
||||
LSP_LIBRARIES="${LSP_LIBRARIES} libecl.so"
|
||||
else
|
||||
LDRPATH='~*'
|
||||
fi
|
||||
if test ${local_gmp} = "no" ; then
|
||||
LIBRARIES="${LIBRARIES} libgmp.a"
|
||||
|
|
|
|||
|
|
@ -180,6 +180,8 @@ fi
|
|||
if test ${shared} = "yes"; then
|
||||
AC_DEFINE(ENABLE_DLOPEN)
|
||||
LSP_LIBRARIES="${LSP_LIBRARIES} libecl.so"
|
||||
else
|
||||
LDRPATH='~*'
|
||||
fi
|
||||
if test ${local_gmp} = "no" ; then
|
||||
LIBRARIES="${LIBRARIES} libgmp.a"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue