aboutsummaryrefslogtreecommitdiff
path: root/contrib/depends/packages/expat.mk
diff options
context:
space:
mode:
authorTheCharlatan <seb.kung@gmail.com>2019-06-17 11:25:10 +0200
committerTheCharlatan <seb.kung@gmail.com>2019-06-25 09:21:33 +0200
commitcbbb24cfe1c3dc7ec615a4ca73cbe2fea90b8396 (patch)
tree9bb4e76dad62519b0859b21e1c6b999c76f8638c /contrib/depends/packages/expat.mk
parentAdd debug targets to depends Makefile (diff)
downloadmonero-cbbb24cfe1c3dc7ec615a4ca73cbe2fea90b8396.tar.xz
Remove clutter in depends installed packages
To speedup the depends cached builds, remove some some clutter from the package files. This mainly incldues removing all the shared libraries and .la linker files. It also gives stronger guarantees that monero only links the static libs without any external rvalues.
Diffstat (limited to 'contrib/depends/packages/expat.mk')
-rw-r--r--contrib/depends/packages/expat.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/depends/packages/expat.mk b/contrib/depends/packages/expat.mk
index bd2cea1b6..ef81636a2 100644
--- a/contrib/depends/packages/expat.mk
+++ b/contrib/depends/packages/expat.mk
@@ -6,6 +6,7 @@ $(package)_sha256_hash=03ad85db965f8ab2d27328abcf0bc5571af6ec0a414874b2066ee3fdd
define $(package)_set_vars
$(package)_config_opts=--enable-static
+$(package)_config_opts=--disable-shared
$(package)_config_opts+=--prefix=$(host_prefix)
endef
@@ -20,3 +21,8 @@ endef
define $(package)_stage_cmds
$(MAKE) DESTDIR=$($(package)_staging_dir) install
endef
+
+define $(package)_postprocess_cmds
+ rm lib/*.la
+endef
+