From: Kurt Zeilenga Date: Thu, 20 Aug 1998 19:44:02 +0000 (+0000) Subject: BSD has re_comp/re_exec in -lcompat X-Git-Tag: OPENLDAP_REL_ENG_1_0_0~9 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c636a39a6064e87856da4a4980ce9e6afdd869be;p=openldap BSD has re_comp/re_exec in -lcompat --- diff --git a/build/platforms/freebsd-gcc/Make-platform b/build/platforms/freebsd-gcc/Make-platform index f5750b49ce..25b326070b 100644 --- a/build/platforms/freebsd-gcc/Make-platform +++ b/build/platforms/freebsd-gcc/Make-platform @@ -44,3 +44,4 @@ LDAP_CRYPT_LIB= -lcrypt # ------------------------------------------------------------------------- CC = gcc PLATFORMCFLAGS= -Dfreebsd +PLATFORMLIBS=-lcompat diff --git a/include/portable.h b/include/portable.h index 48838109ad..8d08f6feff 100644 --- a/include/portable.h +++ b/include/portable.h @@ -101,7 +101,7 @@ * some systems don't have the BSD re_comp and re_exec routines */ #ifndef NEED_BSDREGEX -#if defined( SYSV ) || defined( VMS ) || defined( netbsd ) || defined( freebsd ) || defined( linux ) +#if defined( SYSV ) || defined( VMS ) || defined( netbsd ) || defined( linux ) #define NEED_BSDREGEX #endif #endif