aboutsummaryrefslogtreecommitdiff
path: root/plugins/Makefile
diff options
context:
space:
mode:
authorTom Smeding <tom.smeding@gmail.com>2020-07-29 18:29:11 +0200
committerTom Smeding <tom.smeding@gmail.com>2020-07-29 18:29:11 +0200
commitdd40033d6d6358da8d065db04b3bfbcd834202ff (patch)
treecbb41be5889344bcf0075fd39fd07a2cd2c0b754 /plugins/Makefile
parentbbf9de67af3f16a23e981031d5e18a729f386f52 (diff)
Really fix plugins makefile
Diffstat (limited to 'plugins/Makefile')
-rw-r--r--plugins/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/Makefile b/plugins/Makefile
index 2979387..e14bb2f 100644
--- a/plugins/Makefile
+++ b/plugins/Makefile
@@ -1,5 +1,5 @@
CC = gcc
-CFLAGS = -Wall -Wextra -std=c11 -g -fwrapv -I..
+CFLAGS = -Wall -Wextra -std=c11 -g -fwrapv -I.. -fPIC
ifeq ($(shell uname),Darwin)
SO_EXT = dylib
@@ -8,7 +8,6 @@ else
SO_EXT = so
SO_FLAGS = -shared
endif
-SO_FLAGS += -fPIC
TARGET = $(PLUGINNAME)/$(PLUGINNAME).$(SO_EXT)