mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-30 06:43:28 +01:00
cbbb24cfe1
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.
25 lines
665 B
Makefile
25 lines
665 B
Makefile
package=unwind
|
|
$(package)_version=1.2
|
|
$(package)_download_path=https://download.savannah.nongnu.org/releases/libunwind
|
|
$(package)_file_name=lib$(package)-$($(package)_version).tar.gz
|
|
$(package)_sha256_hash=1de38ffbdc88bd694d10081865871cd2bfbb02ad8ef9e1606aee18d65532b992
|
|
|
|
define $(package)_config_cmds
|
|
cp -f $(BASEDIR)/config.guess config/config.guess &&\
|
|
cp -f $(BASEDIR)/config.sub config/config.sub &&\
|
|
$($(package)_autoconf) --disable-shared --enable-static
|
|
endef
|
|
|
|
define $(package)_build_cmds
|
|
$(MAKE)
|
|
endef
|
|
|
|
define $(package)_stage_cmds
|
|
$(MAKE) DESTDIR=$($(package)_staging_dir) install
|
|
endef
|
|
|
|
define $(package)_postprocess_cmds
|
|
rm lib/*.la
|
|
endef
|
|
|