build: libreplace now depends on nsl and socket
authorAndrew Tridgell <tridge@samba.org>
Sat, 20 Mar 2010 06:37:43 +0000 (17:37 +1100)
committerAndrew Tridgell <tridge@samba.org>
Tue, 6 Apr 2010 10:26:57 +0000 (20:26 +1000)
these become empty targets if not needed

lib/replace/wscript

index 7f9b08ce606383d87c6242308316e27fc9185bf2..151f3ed85cd67567afb8e36c46464dc6269441f6 100644 (file)
@@ -336,7 +336,7 @@ def build(bld):
     bld.SAMBA_LIBRARY('replace',
                       source=REPLACE_SOURCE,
                       group='base_libraries',
-                      deps='LIBREPLACE_GETPASS')
+                      deps='LIBREPLACE_GETPASS nsl socket')
 
     TEST_SOURCES = '''test/testsuite.c test/main.c test/strptime.c
                       test/os2_delete.c test/getifaddrs.c'''