Index: configure.ac ================================================================== --- configure.ac +++ configure.ac @@ -31,10 +31,12 @@ AS_IF([test x"$enable_shared" != x"no"], [ BUILDSYS_SHARED_LIB 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"], [ AC_SUBST(OBJWEB_STATIC_LIB, "libobjweb.a") AC_SUBST(EXCEPTIONS_A, "exceptions.a") Index: extra.mk.in ================================================================== --- extra.mk.in +++ extra.mk.in @@ -6,6 +6,7 @@ EXCEPTIONS_A = @EXCEPTIONS_A@ EXCEPTIONS_EXCEPTIONS_A = @EXCEPTIONS_EXCEPTIONS_A@ EXCEPTIONS_EXCEPTIONS_LIB_A = @EXCEPTIONS_EXCEPTIONS_LIB_A@ EXCEPTIONS_LIB_A = @EXCEPTIONS_LIB_A@ +LIBOBJWEB_DEP = @LIBOBJWEB_DEP@ RUN_TESTS = @RUN_TESTS@