added link to libdl
authorAndrew Tridgell <tridge@samba.org>
Wed, 22 Oct 2008 03:40:58 +0000 (14:40 +1100)
committerAndrew Tridgell <tridge@samba.org>
Wed, 22 Oct 2008 03:40:58 +0000 (14:40 +1100)
connectfrom.c

index 60e0469..147e271 100644 (file)
@@ -2,7 +2,7 @@
   force TCP connections to come from a specific IP
 
   compile with:
-     gcc -o connectfrom.so -fPIC -shared -o connectfrom.so connectfrom.c
+     gcc -o connectfrom.so -fPIC -shared -o connectfrom.so connectfrom.c -ldl
 */
 
 #include <stdio.h>