Commit d1fb4e7c authored by ale's avatar ale

link libsodium in mod_sso

parent 5583c2af
#short_hostname := $(shell hostname | sed 's/\..*//' | tr -cd '[a-z][A-Z][0-9]')
#NACL_ABI := $(shell $(top_srcdir)/lib/nacl-20110221/printabi.debian)
AM_CPPFLAGS = \
-I$(top_srcdir)/src
AM_LDFLAGS = \
......
......@@ -25,6 +25,8 @@ LIBS="$PTHREAD_LIBS $LIBS"
dnl libsodium
PKG_CHECK_MODULES(SODIUM, libsodium)
AC_SUBST(SODIUM_CFLAGS)
AC_SUBST(SODIUM_LIBS)
CXXFLAGS="$CXXFLAGS $SODIUM_CFLAGS"
LIBS="$LIBS $SODIUM_LIBS"
......
......@@ -18,6 +18,6 @@ install-exec-local:
mod_sso.la: libmod_sso.la
$(APXS) -c -o $@ $< $(AM_LDFLAGS) $(APACHE_CFLAGS) \
$(SSO_LIBS) $(NACL_LIBS) -lstdc++
$(SSO_LIBS) $(SODIUM_LIBS) -lstdc++
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment