mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 21:12:48 +01:00
609adc7660
Newer mingw supports the features necessary to enable this api, whereas older versions didn't. However once enabled (automatically by configure), it triggers an unrelated build bug. Since it was not enabled previously anyway, and we don't depend on the functionality, just disable it across the board.
30 lines
908 B
Makefile
30 lines
908 B
Makefile
package=bdb
|
|
$(package)_version=4.8.30
|
|
$(package)_download_path=http://download.oracle.com/berkeley-db
|
|
$(package)_file_name=db-$($(package)_version).NC.tar.gz
|
|
$(package)_sha256_hash=12edc0df75bf9abd7f82f821795bcee50f42cb2e5f76a6a281b85732798364ef
|
|
$(package)_build_subdir=build_unix
|
|
|
|
define $(package)_set_vars
|
|
$(package)_config_opts=--disable-shared --enable-cxx --disable-replication
|
|
$(package)_config_opts_mingw32=--enable-mingw
|
|
$(package)_config_opts_x86_64_linux=--with-pic
|
|
$(package)_config_opts_arm_linux=--with-pic
|
|
endef
|
|
|
|
define $(package)_preprocess_cmds
|
|
sed -i.old 's/__atomic_compare_exchange/__atomic_compare_exchange_db/' dbinc/atomic.h
|
|
endef
|
|
|
|
define $(package)_config_cmds
|
|
../dist/$($(package)_autoconf)
|
|
endef
|
|
|
|
define $(package)_build_cmds
|
|
$(MAKE) libdb_cxx-4.8.a libdb-4.8.a
|
|
endef
|
|
|
|
define $(package)_stage_cmds
|
|
$(MAKE) DESTDIR=$($(package)_staging_dir) install_lib install_include
|
|
endef
|