libgpg-error: build error on Solaris 9
gniibe at fsij.org
Thu Mar 3 08:59:26 CET 2016
Thank you for testing on Solaris.
On 03/03/2016 01:41 AM, Tom G. Christensen wrote:
> However the makefiles do not actually use the value of LIB_SCHED_YIELD
> for anything so -lrt is missing at link time.
My badness. I was looking NPTH library and changed wrongly. I believe
that following patch can fix.
We also need to change src/gen-posix-lock-obj.c, so that
USE_DOUBLE_FOR_ALIGNMENT macro is defined 1.
#if defined(__solaris__) && !defined (__LP64__) && !defined(_LP64)
But it is reported it doesn't work.
If you can figure out how to fix this, please let us know, too.
Thanks in advance.
diff --git a/configure.ac b/configure.ac
index 9882d02..6d25b51 100644
@@ -408,18 +408,13 @@ config_libs="-lgpg-error"
# Check for other libraries (now only for -lrt).
-# Save and restore LIBS so e.g., -lrt, isn't added to it. Otherwise, *all*
-# programs in the package would end up linked with that potentially-shared
-# library, inducing unnecessary run-time overhead.
AC_SEARCH_LIBS([sched_yield], [rt posix4],
[if test "$ac_cv_search_sched_yield" != "none required";
# Prepare building of estream
More information about the Gnupg-devel