diff options
author | kinichiro <kinichiro.inoguchi@gmail.com> | 2016-04-21 14:49:39 +0900 |
---|---|---|
committer | kinichiro <kinichiro.inoguchi@gmail.com> | 2016-04-21 16:12:47 +0900 |
commit | 02e1cc4df185d34963b45b3e7c478f9c5a1818cc (patch) | |
tree | b6972acd87327e0e7022f50a2834219bb2de73b0 /apps | |
parent | c94670a8cd39f8a8843e9adba2a6030adb00ac94 (diff) | |
download | portable-02e1cc4df185d34963b45b3e7c478f9c5a1818cc.tar.gz portable-02e1cc4df185d34963b45b3e7c478f9c5a1818cc.tar.bz2 portable-02e1cc4df185d34963b45b3e7c478f9c5a1818cc.zip |
fix ld warning "attempted multiple inclusion of file" on Solaris
- To avoid ld warning on Solaris, use abs_top_builddir in Makefile.am
Diffstat (limited to 'apps')
-rw-r--r-- | apps/nc/Makefile.am | 6 | ||||
-rw-r--r-- | apps/openssl/Makefile.am | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/apps/nc/Makefile.am b/apps/nc/Makefile.am index ceb72b8..ed45c3f 100644 --- a/apps/nc/Makefile.am +++ b/apps/nc/Makefile.am | |||
@@ -12,9 +12,9 @@ EXTRA_DIST = nc.1 | |||
12 | EXTRA_DIST += CMakeLists.txt | 12 | EXTRA_DIST += CMakeLists.txt |
13 | 13 | ||
14 | nc_LDADD = $(PLATFORM_LDADD) $(PROG_LDADD) | 14 | nc_LDADD = $(PLATFORM_LDADD) $(PROG_LDADD) |
15 | nc_LDADD += $(top_builddir)/crypto/libcrypto.la | 15 | nc_LDADD += $(abs_top_builddir)/crypto/libcrypto.la |
16 | nc_LDADD += $(top_builddir)/ssl/libssl.la | 16 | nc_LDADD += $(abs_top_builddir)/ssl/libssl.la |
17 | nc_LDADD += $(top_builddir)/tls/libtls.la | 17 | nc_LDADD += $(abs_top_builddir)/tls/libtls.la |
18 | 18 | ||
19 | AM_CPPFLAGS += -I$(top_srcdir)/apps/nc/compat | 19 | AM_CPPFLAGS += -I$(top_srcdir)/apps/nc/compat |
20 | if OPENSSLDIR_DEFINED | 20 | if OPENSSLDIR_DEFINED |
diff --git a/apps/openssl/Makefile.am b/apps/openssl/Makefile.am index 7345479..60a3f09 100644 --- a/apps/openssl/Makefile.am +++ b/apps/openssl/Makefile.am | |||
@@ -5,8 +5,8 @@ bin_PROGRAMS = openssl | |||
5 | dist_man_MANS = openssl.1 | 5 | dist_man_MANS = openssl.1 |
6 | 6 | ||
7 | openssl_LDADD = $(PLATFORM_LDADD) $(PROG_LDADD) | 7 | openssl_LDADD = $(PLATFORM_LDADD) $(PROG_LDADD) |
8 | openssl_LDADD += $(top_builddir)/ssl/libssl.la | 8 | openssl_LDADD += $(abs_top_builddir)/ssl/libssl.la |
9 | openssl_LDADD += $(top_builddir)/crypto/libcrypto.la | 9 | openssl_LDADD += $(abs_top_builddir)/crypto/libcrypto.la |
10 | 10 | ||
11 | openssl_SOURCES = apps.c | 11 | openssl_SOURCES = apps.c |
12 | openssl_SOURCES += asn1pars.c | 12 | openssl_SOURCES += asn1pars.c |