about summary refs log tree commit homepage
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 0027fdd..b7d4ede 100644
--- a/Makefile
+++ b/Makefile
@@ -26,6 +26,8 @@ pcu-fsync: fsync.c compat-util.h
 
 PCU_BIN := pcu-fadvise pcu-mincore pcu-fsync
 
+pcu-fsync: LDFLAGS += -ldl
+
 $(PCU_BIN):
         $(CC) $(CFLAGS) $(LDFLAGS) -o $@+ $<
         mv $@+ $@