opendoas

my fork of doas with custom prompt
git clone git://git.kocotian.pl/opendoas.git
Log | Files | Refs | README | LICENSE

commit 049eedbf316fcc831a485f1fc53aa33035ba12da
parent b324c300fd9b45ce0f90e77925ec85545eeec718
Author: Duncan Overbruck <mail@duncano.de>
Date:   Thu, 12 Nov 2020 18:02:11 +0100

configure: don't set --no-as-needed on MacOSX while running checks

Diffstat:
Mconfigure | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/configure b/configure @@ -157,7 +157,11 @@ EOF # Add CPPFLAGS/CFLAGS/LDFLAGS to CC for testing features XCC="${CC:=cc} $CFLAGS $OS_CFLAGS $CPPFLAGS $LDFLAGS" # Make sure to disable --as-needed for CC tests. -XCC="$XCC -Wl,--no-as-needed" + +case "$OS" in + darwin) ;; + *) XCC="$XCC -Wl,--no-as-needed" ;; +esac check_func() { func="$1"; src="$2"; shift 2