third_party/*_wrapper: use SAMBA_LIBRARY(force_unversioned=True)
[bjacke/samba-autobuild/.git] / third_party / resolv_wrapper / wscript
index 9aa06bc1508a42b89ca42f6d61a7e1a4bfe9c4a6..43b38d61b6a9cc44dee925a160130df1150b3733 100644 (file)
@@ -85,10 +85,11 @@ def configure(conf):
 def build(bld):
     if bld.CONFIG_SET("HAVE_RESOLV_H") and not bld.CONFIG_SET("USING_SYSTEM_RESOLV_WRAPPER"):
         # We need to do it this way or the library wont work.
-        # Using private_library=True will add symbol version which
+        # We need force_unversioned=True as symbol versioning
         # breaks preloading!
         bld.SAMBA_LIBRARY('resolv_wrapper',
                           source='resolv_wrapper.c',
                           deps='dl resolv',
                           install=False,
+                          force_unversioned=True,
                           realname='libresolv-wrapper.so')