aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCory Fields <[email protected]>2014-07-08 15:53:53 -0400
committerCory Fields <[email protected]>2014-07-08 15:53:53 -0400
commit575e70c0c6c14058e4fc6c37f4e4d52399b69432 (patch)
tree9d51ca75d595279519c4205fdc81d0db4ac0592f /src
parentbuild: re-add AM_LDFLAGS where it's overridden (diff)
downloaddiscoin-575e70c0c6c14058e4fc6c37f4e4d52399b69432.tar.xz
discoin-575e70c0c6c14058e4fc6c37f4e4d52399b69432.zip
build: fix win32 static linking after libtool merge
Libtool eats the -static flag rather than passing it along to the compiler. To get the same effect, -all-static is used instead.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index e2a62c969..9b0b97b7a 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,5 +1,5 @@
AM_CPPFLAGS = $(INCLUDES)
-AM_LDFLAGS = $(PTHREAD_CFLAGS)
+AM_LDFLAGS = $(PTHREAD_CFLAGS) $(LIBTOOL_LDFLAGS)
if USE_LIBSECP256K1
secp256k1/libsecp256k1.la: $(wildcard secp256k1/src/*) $(wildcard secp256k1/include/*)