summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index da2bf4c..eb398a9 100644
--- a/Makefile
+++ b/Makefile
@@ -23,6 +23,10 @@ ifeq ($(MACHINE),x86_64)
ifeq ($(DISTRIB),Debian)
#LDFLAGS_READLINE=/usr/lib32/libreadline.a /usr/lib32/libncurses.a
endif
+ifeq ($(DISTRIB),Debian)
+HAVES = -DHAVE_UCL
+LDFLAGS = -lucl
+else
endif
SHARED_FLAGS=-shared
SHARED_EXT=so
@@ -47,7 +51,7 @@ INCLUDES = \
-I /usr/include/oracle/11.1.0.1/client/ \
-I ../PSX-Bundle/includes
-HAVES = -DHAVE_VSSCANF -DHAVE_LIBJPEG -DHAVE_FCNTL -DHAVE_MYSQL -DHAVE_UNISTD_H -DHAVE_FORK -DHAVE_PIPE -DHAVE_FSYNC -DHAVE_MALLOC_H -DHAVE_ASPRINTF -DHAVE_BYTESWAP_H
+HAVES += -DHAVE_VSSCANF -DHAVE_LIBJPEG -DHAVE_FCNTL -DHAVE_MYSQL -DHAVE_UNISTD_H -DHAVE_FORK -DHAVE_PIPE -DHAVE_FSYNC -DHAVE_MALLOC_H -DHAVE_ASPRINTF -DHAVE_BYTESWAP_H
LIBS += -lz -ldl -lpthread