diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -5,7 +5,7 @@ CORE_OBJS = control.o reader.o config.o command.o PLUGINS = reader_yhy.so reader_yhy.so: LDLIBS = -lyhy -reader_yhy.so: LDFLAGS = -L. -Wl,-rpath . +reader_yhy.so: LDFLAGS += -L. -Wl,-rpath . %.so: CFLAGS += -shared -fPIC @@ -13,6 +13,7 @@ reader_yhy.so: LDFLAGS = -L. -Wl,-rpath . $(CC) $(CFLAGS) $< -o $@ $(LDFLAGS) $(LDLIBS) nfcommander: LDLIBS = -ldl +nfcommander: LDFLAGS += -Wl,-export-dynamic all: nfcommander $(PLUGINS) |