summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 05f344d..5c5a690 100644
--- a/Makefile
+++ b/Makefile
@@ -103,2 +103,3 @@ LIB_SHARED_OBJS := $(LIB_SRCS:%.c=%.lo)
CC = gcc
+CCLD = $(CC)
@@ -153,3 +154,4 @@ $(LIB_SONAME): $(LIB_SHARED)
$(LIB_SHARED): $(LIB_SHARED_OBJS)
- gcc -shared \
+ $(CCLD) \
+ -shared \
-Wl,-soname -Wl,$(LIB_SONAME) \