]> git.sur5r.net Git - openldap/commitdiff
BSD has re_comp/re_exec in -lcompat
authorKurt Zeilenga <kurt@openldap.org>
Thu, 20 Aug 1998 19:44:02 +0000 (19:44 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Thu, 20 Aug 1998 19:44:02 +0000 (19:44 +0000)
build/platforms/freebsd-gcc/Make-platform
include/portable.h

index f5750b49ceba3acd03349afbaf677fd229944a9c..25b326070b426b8c20e43915e112ee436ffb1873 100644 (file)
@@ -44,3 +44,4 @@ LDAP_CRYPT_LIB= -lcrypt
 # -------------------------------------------------------------------------
 CC     = gcc
 PLATFORMCFLAGS=        -Dfreebsd
+PLATFORMLIBS=-lcompat
index 48838109adfadb131a32476cbff21c6b091f1d6b..8d08f6feff41d1a5c1859db1bbb787dd4fab44e9 100644 (file)
  * 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