Commit 474d073c authored by Gautier Pelloux-Prayer's avatar Gautier Pelloux-Prayer
Browse files

tester: set rpath on all platforms, not only macosx

parent f25cbb5b
...@@ -43,9 +43,7 @@ AM_CPPFLAGS=-I$(top_srcdir)/include -I$(top_srcdir)/src ...@@ -43,9 +43,7 @@ AM_CPPFLAGS=-I$(top_srcdir)/include -I$(top_srcdir)/src
LDADD=$(top_builddir)/src/libbellesip.la $(TLS_LIBS) LDADD=$(top_builddir)/src/libbellesip.la $(TLS_LIBS)
AM_LDFLAGS=-no-undefined -export-dynamic AM_LDFLAGS=-no-undefined -export-dynamic
if BUILD_APPLE AM_LDFLAGS+=-Wl,-rpath -Wl,$(libdir)
AM_LDFLAGS+=-Wl,-rpath -Wl,$(prefix)/lib
endif
AM_CFLAGS=$(STRICT_OPTIONS) $(STRICT_OPTIONS_CC) AM_CFLAGS=$(STRICT_OPTIONS) $(STRICT_OPTIONS_CC)
......
...@@ -810,7 +810,6 @@ static void test_very_long_address_header(void) { ...@@ -810,7 +810,6 @@ static void test_very_long_address_header(void) {
BC_ASSERT_PTR_NOT_NULL(belle_sip_uri_get_user(L_uri)); BC_ASSERT_PTR_NOT_NULL(belle_sip_uri_get_user(L_uri));
BC_ASSERT_STRING_EQUAL(belle_sip_uri_get_host(L_uri), "sip.linphone.org"); BC_ASSERT_STRING_EQUAL(belle_sip_uri_get_host(L_uri), "sip.linphone.org");
BC_ASSERT_STRING_EQUAL(belle_sip_uri_get_user(L_uri), "jehan"); BC_ASSERT_STRING_EQUAL(belle_sip_uri_get_user(L_uri), "jehan");
printf("toto='%s'\n", belle_sip_parameters_get_parameter(BELLE_SIP_PARAMETERS(L_uri),"pn-tok"));
do { do {
char format[512]; char format[512];
const char * cactual = (belle_sip_parameters_get_parameter(BELLE_SIP_PARAMETERS(L_uri),"pn-tok")); const char * cactual = (belle_sip_parameters_get_parameter(BELLE_SIP_PARAMETERS(L_uri),"pn-tok"));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment