summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 543de5b..8f714e8 100644
--- a/Makefile
+++ b/Makefile
@@ -25,7 +25,7 @@ ifeq ($(DISTRIB),Debian)
endif
ifeq ($(DISTRIB),Debian)
HAVES = -DHAVE_UCL
-LDFLAGS = /usr/lib/libucl.a
+BASIC_LDFLAGS = /usr/lib/libucl.a
endif
endif
SHARED_FLAGS=-shared
@@ -57,7 +57,7 @@ LIBS += -lz -ldl -lpthread
CPPFLAGS += $(INCLUDES) -g -DSTDC_HEADERS $(CPPFLAGS_READLINE) -DHOOK_STDS -fexceptions -DWORDS_LITTLEENDIAN -fexceptions $(ARCH_FLAGS) $(HAVES) -DUSE_MPQLIB
-BASIC_LDFLAGS = $(ARCH_FLAGS) $(LIBS)
+BASIC_LDFLAGS += $(ARCH_FLAGS) $(LIBS)
LDFLAGS += $(BASIC_LDFLAGS) $(LDFLAGS_READLINE) -L/usr/lib/oracle/11.1.0.1/client/lib