build: don't link when checking a C prototype
authorAndrew Tridgell <tridge@samba.org>
Tue, 30 Mar 2010 02:19:46 +0000 (13:19 +1100)
committerAndrew Tridgell <tridge@samba.org>
Tue, 6 Apr 2010 10:27:18 +0000 (20:27 +1000)
buildtools/wafsamba/samba_conftests.py

index 94ddf3a5a9b6d605b760712a724bd04dc2900301..348dc341e402c344916e0d6c80c68d095065318a 100644 (file)
@@ -42,6 +42,8 @@ def CHECK_C_PROTOTYPE(conf, function, prototype, define, headers=None):
                            define=define,
                            local_include=False,
                            headers=headers,
                            define=define,
                            local_include=False,
                            headers=headers,
+                           link=False,
+                           execute=False,
                            msg='Checking C prototype for %s' % function)
 
 
                            msg='Checking C prototype for %s' % function)