Build fixes for OpenBSD.

Fixes #14. Issue discovered and fixes based on patch by Pierre-Emmanuel Andr.
This commit is contained in:
Jack Moffitt
2012-02-08 22:00:06 -07:00
parent f9471368f5
commit aadc58711b
2 changed files with 4 additions and 1 deletions

View File

@@ -5,8 +5,10 @@ CFLAGS = -g -Wall
PARSER_CFLAGS=@PARSER_CFLAGS@
PARSER_LIBS=@PARSER_LIBS@
SSL_LIBS = -lssl -lcrypto -lz
STROPHE_FLAGS = -I$(top_srcdir)
STROPHE_LIBS = libstrophe.a $(PARSER_LIBS) -lssl -lresolv
STROPHE_LIBS = libstrophe.a $(PARSER_LIBS) $(SSL_LIBS)
## Main build targets
lib_LIBRARIES = libstrophe.a

View File

@@ -35,6 +35,7 @@ fi
AC_MSG_NOTICE([libstrophe will use the $with_parser XML parser])
AC_SEARCH_LIBS([socket], [socket])
AC_SEARCH_LIBS([res_9_query], [resolv])
AM_CONDITIONAL([PARSER_EXPAT], [test x$with_parser != xlibxml2])
AC_SUBST(PARSER_NAME)