Browse Source
wine build: add --build to ./configure: prevents cross-comp. misdetect
from Electron-Cash/Electron-Cash/commit/e87021a78dbdeb50e9cfa51ddf0c1ef60c7688e0
dependabot/pip/contrib/deterministic-build/ecdsa-0.13.3
SomberNight
6 years ago
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9
1 changed files with
4 additions and
0 deletions
-
contrib/build-wine/build-secp256k1.sh
|
|
@ -16,8 +16,12 @@ build_dll() { |
|
|
|
export SOURCE_DATE_EPOCH=1530212462 |
|
|
|
echo "LDFLAGS = -no-undefined" >> Makefile.am |
|
|
|
./autogen.sh |
|
|
|
# Note: set both --build and --host when running configure |
|
|
|
# Otherwise weird voodoo magic happens with Docker and Wine. |
|
|
|
# https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Hosts-and-Cross_002dCompilation.html |
|
|
|
LDFLAGS="-Wl,--no-insert-timestamp" ./configure \ |
|
|
|
--host=$1 \ |
|
|
|
--build=x86_64-pc-linux-gnu \ |
|
|
|
--enable-module-recovery \ |
|
|
|
--enable-experimental \ |
|
|
|
--enable-module-ecdh \ |
|
|
|