summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Make.Rules.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/Make.Rules.in b/Make.Rules.in
index e42c965b..2aab9bf9 100644
--- a/Make.Rules.in
+++ b/Make.Rules.in
@@ -109,3 +109,7 @@ STRIP=@STRIP@
CC_STATIC=@CC_STATIC@
LINKLIBS = $(NEED_LINK_LIB_C) $(LIBDL)
+
+ifdef DYNAMIC
+CFLAGS += $(PIC)
+endif