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, 5 Jul 2023 19:31:42 +0000 (21:31 +0200)
third_party/heimdal_build/config.h
third_party/heimdal_build/wscript_build

index 8a350d2457c2ac792ab3e73c0e6dd50dee5426c3..3a6ae8ca9d2e8fa337cd3ad248fa3773357fd4d3 100644 (file)
@@ -66,4 +66,8 @@
 
 #define HEIM_FALLTHROUGH FALL_THROUGH
 
+#ifdef HAVE_PTHREAD
+#define ENABLE_PTHREAD_SUPPORT 1
+#endif
+
 #endif
index 8aea52b55f5fdd073edbcab9d816bcf906957540..3d6cdc46dadef6bc9474335d8bf66feebca03684 100644 (file)
@@ -917,7 +917,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',
         )