Skip to content

Commit

Permalink
Make it build on Debian.
Browse files Browse the repository at this point in the history
  • Loading branch information
nochiel committed Feb 11, 2023
1 parent fe09167 commit 5a20247
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ if [[ "$OSTYPE" == "msys" ]]; then
# FIXME: figure out how to disable PTHREADS instead of tests
./configure "${WALLY_CONFIGURE-}" --disable-tests --disable-shared --prefix ${SYSROOT}
else
./configure "${WALLY_CONFIGURE-}" --disable-shared --prefix ${SYSROOT}
./configure "${WALLY_CONFIGURE-}" --disable-tests --disable-shared --prefix ${SYSROOT}
fi

make
Expand Down
1 change: 1 addition & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

AC_PREREQ([2.69])
AC_INIT([keytool-cli], [0.7.0])
AC_CONFIG_AUX_DIR([/usr/share/autoconf/build-aux])
AC_CONFIG_SRCDIR([src/keytool.cpp])
AC_CONFIG_HEADERS([src/config.h])

Expand Down
4 changes: 2 additions & 2 deletions src/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ RESET=`tput sgr0`

COMPILER = g++
CFLAGS += --debug -O0
CXXFLAGS += -std=c++17 -stdlib=libc++ --debug -O0
CXXFLAGS += -std=c++17 --debug -O0

toolname = keytool

Expand Down Expand Up @@ -80,7 +80,7 @@ LDLIBS += -lwallycore -lsecp256k1 -largp -lbc-ur

UNAME := $(shell uname)
ifeq ($(UNAME), Linux)
LDLIBS += -lm -lc++ -lc++abi -lgcc_s -lgcc
LDLIBS += -lm -lgcc_s -lgcc -lstdc++
else ifeq ($(findstring MINGW64, $(UNAME)), MINGW64)
# on windows building with msys2/mingw64
LDLIBS += -lm -lc++ -lws2_32 -lssp
Expand Down
1 change: 1 addition & 0 deletions src/chain-type.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#include <optional>
#include <string>
#include <vector>
#include <stdexcept>

class ChainType final {
public:
Expand Down
1 change: 1 addition & 0 deletions src/hd-key.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

#include <string>
#include <optional>
#include <limits>
#include "utils.hpp"
#include "use-info.hpp"
#include "derivation-path.hpp"
Expand Down

0 comments on commit 5a20247

Please sign in to comment.