configure: Properly set LIBOBJWEB_DEP

This commit is contained in:
Jonathan Schleifer 2016-05-07 13:54:50 +02:00
parent 96dec81b87
commit df04cfa12b
No known key found for this signature in database
GPG key ID: 338C3541DB54E169
2 changed files with 3 additions and 0 deletions

View file

@ -33,6 +33,8 @@ AS_IF([test x"$enable_shared" != x"no"], [
AC_SUBST(OBJWEB_SHARED_LIB, "${LIB_PREFIX}objweb${LIB_SUFFIX}")
AC_SUBST(EXCEPTIONS_LIB_A, "exceptions.lib.a")
AC_SUBST(EXCEPTIONS_EXCEPTIONS_LIB_A, "exceptions/exceptions.lib.a")
], [
AC_SUBST(LIBOBJWEB_DEP, "../src/libobjweb.a")
])
AC_ARG_ENABLE(static, AS_HELP_STRING([--enable-static], [build static library]))
AS_IF([test x"$enable_static" = x"yes" -o x"$enable_shared" = x"no"], [