gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnunet] branch master updated: fix: build on openbsd


From: gnunet
Subject: [gnunet] branch master updated: fix: build on openbsd
Date: Tue, 18 Aug 2020 00:16:15 +0200

This is an automated email from the git hooks/post-receive script.

martin-schanzenbach pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new 2bce42e5b fix: build on openbsd
2bce42e5b is described below

commit 2bce42e5b3630f3835f401e5eeed23a56b7bd875
Author: Martin Schanzenbach <mschanzenbach@posteo.de>
AuthorDate: Tue Aug 18 00:09:59 2020 +0200

    fix: build on openbsd
---
 configure.ac | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index bb205220c..72309c78d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -142,9 +142,11 @@ AS_CASE(["$host_os"],
      UNIXONLY="#"
   ],
   [*openbsd*],[
-     LIBS=`echo $LIBS | sed -e "s/-ldl//"`
+     # We need to explicitly link libc
+     LDFLAGS="$LDFLAGS -Wl,-lc"
+     # We also need to enable PIC
+     CFLAGS="-fPIC $CFLAGS"
      build_target="openbsd"
-     use_openbsd_libtool=true
      LIBPREFIX=
      DLLDIR=lib
      UNIXONLY="#"

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]