mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-08 10:13:36 -08:00
Only include ffi.d when it is required. Some compilers do not like empty files.
This commit is contained in:
parent
af3ae3ca3b
commit
34c9a7fdcd
3 changed files with 3 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ OBJS = main.o symbol.o package.o list.o\
|
|||
time.o unixint.o\
|
||||
mapfun.o multival.o hash.o format.o pathname.o\
|
||||
structure.o load.o unixfsys.o unixsys.o \
|
||||
all_symbols.o ffi.o @EXTRA_OBJS@
|
||||
all_symbols.o @EXTRA_OBJS@
|
||||
|
||||
.SUFFIXES: .c .o .d
|
||||
|
||||
|
|
|
|||
1
src/configure
vendored
1
src/configure
vendored
|
|
@ -4670,6 +4670,7 @@ if test "${ffi}"; then
|
|||
#define ECL_FFI 1
|
||||
_ACEOF
|
||||
|
||||
EXTRA_OBJS="${EXTRA_OBJS} ffi.o"
|
||||
fi
|
||||
if test "${locative}" ; then
|
||||
EXTRA_OBJS="${EXTRA_OBJS} unify.o"
|
||||
|
|
|
|||
|
|
@ -215,6 +215,7 @@ if test "${closstreams}"; then
|
|||
fi
|
||||
if test "${ffi}"; then
|
||||
AC_DEFINE(ECL_FFI)
|
||||
EXTRA_OBJS="${EXTRA_OBJS} ffi.o"
|
||||
fi
|
||||
if test "${locative}" ; then
|
||||
EXTRA_OBJS="${EXTRA_OBJS} unify.o"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue