Skip to content

Commit 4b1b118

Browse files
committed
fix compilation without check
Signed-off-by: Hans Zandbelt <[email protected]>
1 parent 0b84bf9 commit 4b1b118

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/Makefile.am

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ AM_CFLAGS += -DUSE_ZLIB @ZLIB_CFLAGS@
2727
LIBADD += @ZLIB_LIBS@
2828
endif
2929

30+
LDADD = ${top_builddir}/src/libauth_openidc.la ${LIBADD}
31+
3032
noinst_LTLIBRARIES = libtest.la
3133
libtest_la_SOURCES = \
3234
helper.c \
@@ -45,7 +47,7 @@ test_CFLAGS = ${AM_CFLAGS} -fPIC
4547

4648
if HAVE_CHECK
4749

48-
LDADD = ${top_builddir}/src/libauth_openidc.la libtest.la ${LIBADD} @CHECK_LIBS@
50+
LDADD += libtest.la @CHECK_LIBS@
4951
AM_CFLAGS += @CHECK_CFLAGS@
5052

5153
TESTS += \

0 commit comments

Comments
 (0)