Browse Source
depends: Fix BDB naming issue when cross-compiling
Co-authored-by: David Mercer <radix42@gmail.com>
pull/4/head
Jack Grigg
6 years ago
No known key found for this signature in database
GPG Key ID: 1B8D649257DB0829
1 changed files with
1 additions and
0 deletions
-
depends/packages/bdb.mk
|
|
@ -13,6 +13,7 @@ $(package)_cxxflags=-std=c++11 |
|
|
|
endef |
|
|
|
|
|
|
|
define $(package)_preprocess_cmds |
|
|
|
sed -i.old 's/WinIoCtl.h/winioctl.h/g' src/dbinc/win_db.h && \
|
|
|
|
sed -i.old 's/__atomic_compare_exchange\\(/__atomic_compare_exchange_db(/' src/dbinc/atomic.h && \
|
|
|
|
sed -i.old 's/atomic_init/atomic_init_db/' src/dbinc/atomic.h src/mp/mp_region.c src/mp/mp_mvcc.c src/mp/mp_fget.c src/mutex/mut_method.c src/mutex/mut_tas.c |
|
|
|
endef |
|
|
|