summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorcbdev <cb@cbcdn.com>2023-06-17 23:45:44 +0200
committercbdev <cb@cbcdn.com>2023-06-17 23:45:44 +0200
commit2ebd9db684112ca14d3edfb1c591ac3f90d91e3b (patch)
tree4822920fe69ab887fbf50f757d9596391a158e85 /Makefile
parent209897056d43ea0d682700e1078a8988a9b133f3 (diff)
downloadnfcommander-2ebd9db684112ca14d3edfb1c591ac3f90d91e3b.tar.gz
nfcommander-2ebd9db684112ca14d3edfb1c591ac3f90d91e3b.tar.bz2
nfcommander-2ebd9db684112ca14d3edfb1c591ac3f90d91e3b.zip
Reverse exports
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ca709b7..760a07e 100644
--- a/Makefile
+++ b/Makefile
@@ -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)