openbsd does not have librt or libcrypt?

This commit is contained in:
Michael Jerris 2014-02-21 15:36:25 -05:00
parent 4f8bb1e465
commit eab969815a
1 changed files with 5 additions and 0 deletions

View File

@ -515,6 +515,11 @@ case "$host" in
APR_ADDTO(ESL_LDFLAGS, -lnsl -lsocket)
APR_ADDTO([PLATFORM_CORE_LIBS], [-ldl -lcrypt -lrt -lsendfile -lresolv -lsocket -lnsl -luuid])
;;
*openbsd*)
APR_ADDTO(CFLAGS, -I/usr/local/include)
APR_ADDTO(LDFLAGS, -L/usr/local/lib)
APR_ADDTO(SWITCH_AM_CFLAGS, -I/usr/local/include)
;;
*bsd*)
APR_ADDTO(CFLAGS, -I/usr/local/include)
APR_ADDTO(LDFLAGS, -L/usr/local/lib)