aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3ff7bc1..cf7df86 100644
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@ LUA_MODULES := $(shell pkg-config --variable=INSTALL_CMOD lua)
all: lualdap.so
lualdap.so: lualdap.c
- $(CC) -fPIC -shared $(CFLAGS) -o $@ $^ $(LDLIBS)
+ $(CC) -fPIC -shared $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LDLIBS)
install: lualdap.so
mkdir -p "$(DESTDIR)$(LUA_MODULES)"