mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-20 22:59:34 -05:00
BSD has re_comp/re_exec in -lcompat
This commit is contained in:
parent
cbc4b47f70
commit
c636a39a60
2 changed files with 2 additions and 1 deletions
|
|
@ -44,3 +44,4 @@ LDAP_CRYPT_LIB= -lcrypt
|
||||||
# -------------------------------------------------------------------------
|
# -------------------------------------------------------------------------
|
||||||
CC = gcc
|
CC = gcc
|
||||||
PLATFORMCFLAGS= -Dfreebsd
|
PLATFORMCFLAGS= -Dfreebsd
|
||||||
|
PLATFORMLIBS=-lcompat
|
||||||
|
|
|
||||||
|
|
@ -101,7 +101,7 @@
|
||||||
* some systems don't have the BSD re_comp and re_exec routines
|
* some systems don't have the BSD re_comp and re_exec routines
|
||||||
*/
|
*/
|
||||||
#ifndef NEED_BSDREGEX
|
#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
|
#define NEED_BSDREGEX
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue