source4/heimdal_build/ enable pthread support
authorStefan Metzmacher <metze@samba.org>
Mon, 14 Dec 2020 13:10:01 +0000 (14:10 +0100)
committerStefan Metzmacher <metze@samba.org>
Wed, 22 May 2024 06:46:45 +0000 (08:46 +0200)
third_party/heimdal_build/config.h
third_party/heimdal_build/wscript_build

index 7a43970508266e2a5c5681e8397cc84153a717b2..4e6b1ed6f6cca8d365afab3610da1014b31160bc 100644 (file)
@@ -66,4 +66,8 @@
 
 #define HEIM_FALLTHROUGH FALL_THROUGH
 
+#ifdef HAVE_PTHREAD
+#define ENABLE_PTHREAD_SUPPORT 1
+#endif
+
 #endif
index 59fb2758f91a362ebdbc12117d0743439fa50a83..f300de1bf11c0162fe24554ba161cf0746cfebb7 100644 (file)
@@ -916,7 +916,7 @@ if not bld.CONFIG_SET('USING_SYSTEM_HEIMBASE'):
     HEIMDAL_LIBRARY('heimbase',
         HEIMBASE_SOURCE,
         includes='../heimdal/lib/base ../heimdal/include ../heimdal/lib/krb5',
-        deps='roken replace com_err',
+        deps='roken replace pthread com_err',
         cflags=['-DLOCALSTATEDIR="/2"'] + bld.dynconfig_cflags(),
         version_script='lib/base/version-script.map',
         )