mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-18 11:05:48 +08:00
BSD has re_comp/re_exec in -lcompat
This commit is contained in:
parent
cbc4b47f70
commit
c636a39a60
@ -44,3 +44,4 @@ LDAP_CRYPT_LIB= -lcrypt
|
||||
# -------------------------------------------------------------------------
|
||||
CC = gcc
|
||||
PLATFORMCFLAGS= -Dfreebsd
|
||||
PLATFORMLIBS=-lcompat
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user