summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 730f101..3db2f5b 100644
--- a/Makefile
+++ b/Makefile
@@ -33,7 +33,7 @@ OUTDIR = lib
TARGET = $(OUTDIR)/libsecfw.so
SRCDIR = framework
INCLUDE = -I. $(TCS_INC) -I../plugin
-LD_FLAGS := $(LD_FLAGS) -ldl -lc
+LD_FLAGS := $(LD_FLAGS) -ldl
ifeq ($(TCS_CC), )
CC = gcc
@@ -70,7 +70,7 @@ $(OUTDIR)/%.o: $(SRCDIR)/%.c
all: $(OUTDIR) $(TARGET)
$(TARGET): $(OBJECTS)
- $(LD) -shared,-Wl,-zdefs -o $(TARGET) $(OBJECTS) $(LD_FLAGS)
+ $(CC) -shared -Wl,-zdefs -o $(TARGET) $(OBJECTS) $(LD_FLAGS)
# $(AR) -cr $(TARGET) $(OBJECTS)