diff options
author | kinichiro <kinichiro.inoguchi@gmail.com> | 2021-12-12 14:37:35 +0900 |
---|---|---|
committer | kinichiro <kinichiro.inoguchi@gmail.com> | 2021-12-12 14:37:35 +0900 |
commit | 858628bc77594d37076f5ba059ee07370adb485b (patch) | |
tree | 9bd60d5e1cd01e2f9a3f2e9b85e1b81ecd4372cd /ssl | |
parent | 244fd5608f9796909a7149f43a81d84e15d36d96 (diff) | |
download | portable-858628bc77594d37076f5ba059ee07370adb485b.tar.gz portable-858628bc77594d37076f5ba059ee07370adb485b.tar.bz2 portable-858628bc77594d37076f5ba059ee07370adb485b.zip |
Remove bytestring objects from static libssl with autotools
Diffstat (limited to 'ssl')
-rw-r--r-- | ssl/Makefile.am | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ssl/Makefile.am b/ssl/Makefile.am index 8a778ca..66d6b48 100644 --- a/ssl/Makefile.am +++ b/ssl/Makefile.am | |||
@@ -8,6 +8,8 @@ else | |||
8 | lib_LTLIBRARIES = libssl.la | 8 | lib_LTLIBRARIES = libssl.la |
9 | endif | 9 | endif |
10 | 10 | ||
11 | noinst_DATA = remove_bs_objects | ||
12 | |||
11 | EXTRA_DIST = VERSION | 13 | EXTRA_DIST = VERSION |
12 | EXTRA_DIST += CMakeLists.txt | 14 | EXTRA_DIST += CMakeLists.txt |
13 | EXTRA_DIST += ssl.sym | 15 | EXTRA_DIST += ssl.sym |
@@ -21,6 +23,11 @@ libssl_la_objects.mk: Makefile | |||
21 | | sed 's/ */ $$\(abs_top_builddir\)\/ssl\//g' \ | 23 | | sed 's/ */ $$\(abs_top_builddir\)\/ssl\//g' \ |
22 | > libssl_la_objects.mk | 24 | > libssl_la_objects.mk |
23 | 25 | ||
26 | .PHONY: remove_bs_objects | ||
27 | remove_bs_objects: libssl.la | ||
28 | $(AR) dv $(abs_top_builddir)/ssl/.libs/libssl.a \ | ||
29 | bs_ber.o bs_cbb.o bs_cbs.o | ||
30 | |||
24 | libssl_la_LDFLAGS = -version-info @LIBSSL_VERSION@ -no-undefined -export-symbols $(top_srcdir)/ssl/ssl.sym | 31 | libssl_la_LDFLAGS = -version-info @LIBSSL_VERSION@ -no-undefined -export-symbols $(top_srcdir)/ssl/ssl.sym |
25 | libssl_la_LIBADD = $(abs_top_builddir)/crypto/libcrypto.la $(PLATFORM_LDADD) | 32 | libssl_la_LIBADD = $(abs_top_builddir)/crypto/libcrypto.la $(PLATFORM_LDADD) |
26 | libssl_la_LIBADD += libbs.la | 33 | libssl_la_LIBADD += libbs.la |