Adds linking order magic to fix compiling CUint and libfiu together
This commit is contained in:
parent
cb6dcc3d0c
commit
f0ca6fc4b2
@ -16,6 +16,9 @@ if WANT_C_UNIT_TESTS
|
||||
fwknop_utests_CPPFLAGS = -I $(top_builddir)/lib -I $(top_builddir)/common $(GPGME_CFLAGS)
|
||||
fwknop_utests_LDADD = $(top_builddir)/lib/libfko.la $(top_builddir)/common/libfko_util.a
|
||||
fwknop_utests_LDFLAGS = -lcunit $(GPGME_LIBS)
|
||||
if WANT_LIBFIU_SUPPORT
|
||||
fwknop_utests_LDADD += -lfiu
|
||||
endif
|
||||
endif
|
||||
|
||||
fwknop_CPPFLAGS = -I $(top_srcdir)/lib -I $(top_srcdir)/common
|
||||
|
||||
@ -157,6 +157,8 @@ if test "x$want_libfiu_support" = "xyes"; then
|
||||
FKO_CHECK_COMPILER_ARG_LDFLAGS_ONLY([-lfiu])
|
||||
fi
|
||||
|
||||
AM_CONDITIONAL([WANT_LIBFIU_SUPPORT], [test "$want_libfiu_support" = yes])
|
||||
|
||||
dnl Decide whether or not to enable C unit testing
|
||||
dnl
|
||||
want_c_unit_tests=no
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user