aboutsummaryrefslogtreecommitdiff
path: root/unix/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'unix/Makefile')
-rw-r--r--unix/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/unix/Makefile b/unix/Makefile
index 75825b7c4..795faeaa8 100644
--- a/unix/Makefile
+++ b/unix/Makefile
@@ -11,7 +11,7 @@ include ../py/py.mk
# compiler settings
CFLAGS = -I. -I$(PY_SRC) -Wall -Werror -ansi -std=gnu99 -DUNIX
-LDFLAGS = -lm
+LDFLAGS = -lm -ldl -lffi
# Debugging/Optimization
ifdef DEBUG
@@ -25,6 +25,7 @@ SRC_C = \
main.c \
file.c \
socket.c \
+ ffi.c \
OBJ = $(PY_O) $(addprefix $(BUILD)/, $(SRC_C:.c=.o))
LIB = -lreadline