Skip to content

Commit c5cfa98

Browse files
andywolks3rj1k
authored andcommitted
Fix building nta tests
1 parent 0831469 commit c5cfa98

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

libsofia-sip-ua/nta/Makefile.am

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@ AM_CPPFLAGS = -I$(srcdir)/../ipt -I../ipt \
2323
# ----------------------------------------------------------------------
2424
# Build targets
2525

26-
noinst_LTLIBRARIES = libnta.la
26+
noinst_LTLIBRARIES = libnta.la libcombined.la
2727

2828
check_PROGRAMS = check_nta test_nta_api test_nta portbind
2929
dist_noinst_SCRIPTS = run_test_nta_api run_test_nta
3030

3131
TESTS = run_check_nta run_test_nta_api run_test_nta
3232

33-
TESTS_ENVIRONMENT = $(SHELL)
33+
#TESTS_ENVIRONMENT = $(SHELL)
3434

3535
# ----------------------------------------------------------------------
3636
# Rules for building the targets
@@ -49,7 +49,8 @@ libnta_la_SOURCES = nta.c nta_check.c nta_tag.c nta_tag_ref.c \
4949

5050
COVERAGE_INPUT = $(libnta_la_SOURCES) $(include_sofia_HEADERS)
5151

52-
LDADD = libnta.la \
52+
libcombined_la_SOURCES =
53+
libcombined_la_LIBADD = libnta.la \
5354
../ipt/libipt.la \
5455
../sip/libsip.la \
5556
../features/libfeatures.la \
@@ -61,7 +62,13 @@ LDADD = libnta.la \
6162
../msg/libmsg.la \
6263
../bnf/libbnf.la \
6364
../su/libsu.la \
64-
${top_builddir}/s2check/libs2.a -lz
65+
../nua/libnua.la \
66+
../iptsec/libiptsec.la \
67+
../nea/libnea.la \
68+
../soa/libsoa.la \
69+
../sdp/libsdp.la
70+
71+
LDADD = libcombined.la ${top_builddir}/s2check/libs2.a -lz
6572

6673
test_nta_LDFLAGS = -static
6774

0 commit comments

Comments
 (0)