diff --git a/apps/nc/Makefile.am b/apps/nc/Makefile.am index 34c5cd3..07e31de 100644 --- a/apps/nc/Makefile.am +++ b/apps/nc/Makefile.am @@ -11,9 +11,9 @@ endif EXTRA_DIST = nc.1 nc_LDADD = $(PLATFORM_LDADD) $(PROG_LDADD) -nc_LDADD += $(top_builddir)/crypto/libcrypto.la -nc_LDADD += $(top_builddir)/ssl/libssl.la -nc_LDADD += $(top_builddir)/tls/libtls.la +nc_LDADD += $(abs_top_builddir)/crypto/libcrypto.la +nc_LDADD += $(abs_top_builddir)/ssl/libssl.la +nc_LDADD += $(abs_top_builddir)/tls/libtls.la AM_CPPFLAGS += -I$(top_srcdir)/apps/nc/compat if OPENSSLDIR_DEFINED diff --git a/apps/openssl/Makefile.am b/apps/openssl/Makefile.am index 6ec3d62..a65f3bc 100644 --- a/apps/openssl/Makefile.am +++ b/apps/openssl/Makefile.am @@ -5,8 +5,8 @@ bin_PROGRAMS = openssl dist_man_MANS = openssl.1 openssl_LDADD = $(PLATFORM_LDADD) $(PROG_LDADD) -openssl_LDADD += $(top_builddir)/ssl/libssl.la -openssl_LDADD += $(top_builddir)/crypto/libcrypto.la +openssl_LDADD += $(abs_top_builddir)/ssl/libssl.la +openssl_LDADD += $(abs_top_builddir)/crypto/libcrypto.la openssl_SOURCES = apps.c openssl_SOURCES += asn1pars.c diff --git a/ssl/Makefile.am b/ssl/Makefile.am index 5d038a8..247d5c1 100644 --- a/ssl/Makefile.am +++ b/ssl/Makefile.am @@ -6,7 +6,7 @@ EXTRA_DIST = VERSION EXTRA_DIST += CMakeLists.txt libssl_la_LDFLAGS = -version-info @LIBSSL_VERSION@ -no-undefined -libssl_la_LIBADD = ../crypto/libcrypto.la +libssl_la_LIBADD = $(abs_top_builddir)/crypto/libcrypto.la libssl_la_SOURCES = bio_ssl.c libssl_la_SOURCES += bs_ber.c diff --git a/tests/Makefile.am b/tests/Makefile.am index 17293b9..3a6edfe 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -7,9 +7,9 @@ AM_CPPFLAGS += -I $(top_srcdir)/apps/openssl AM_CPPFLAGS += -I $(top_srcdir)/apps/openssl/compat LDADD = $(PLATFORM_LDADD) $(PROG_LDADD) -LDADD += $(top_builddir)/ssl/libssl.la -LDADD += $(top_builddir)/crypto/libcrypto.la -LDADD += $(top_builddir)/tls/libtls.la +LDADD += $(abs_top_builddir)/ssl/libssl.la +LDADD += $(abs_top_builddir)/crypto/libcrypto.la +LDADD += $(abs_top_builddir)/tls/libtls.la TEST_LOG_DRIVER = env AM_TAP_AWK='$(AWK)' $(SHELL) $(top_srcdir)/tap-driver.sh diff --git a/tls/Makefile.am b/tls/Makefile.am index b19c881..b7dd4b0 100644 --- a/tls/Makefile.am +++ b/tls/Makefile.am @@ -6,7 +6,9 @@ EXTRA_DIST = VERSION EXTRA_DIST += CMakeLists.txt libtls_la_LDFLAGS = -version-info @LIBTLS_VERSION@ -no-undefined -libtls_la_LIBADD = ../crypto/libcrypto.la ../ssl/libssl.la $(PLATFORM_LDADD) +libtls_la_LIBADD = $(abs_top_builddir)/ssl/libssl.la +libtls_la_LIBADD += $(abs_top_builddir)/crypto/libcrypto.la +libtls_la_LIBADD += $(PLATFORM_LDADD) libtls_la_CPPFLAGS = $(AM_CPPFLAGS) if OPENSSLDIR_DEFINED