diff options
Diffstat (limited to 'plugins/Makefile')
-rw-r--r-- | plugins/Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/Makefile b/plugins/Makefile index a87e798..e14bb2f 100644 --- a/plugins/Makefile +++ b/plugins/Makefile @@ -8,7 +8,6 @@ else SO_EXT = so SO_FLAGS = -shared endif -SO_FLAGS += -fPIC TARGET = $(PLUGINNAME)/$(PLUGINNAME).$(SO_EXT) @@ -32,4 +31,4 @@ $(PLUGINNAME)/%.$(SO_EXT): $(patsubst %.c,%.o,$(wildcard $(PLUGINNAME)/*.c)) $(CC) $(SO_FLAGS) -o $@ $(filter %.o,$^) $(PLUGINNAME)/%.o: $(PLUGINNAME)/%.c $(wildcard $(PLUGINNAME)/*.h) $(wildcard ../*.h) - $(CC) $(CFLAGS) $(SO_FLAGS) -o $@ $< + $(CC) -c $(CFLAGS) -o $@ $< |