Skip to content

Commit

Permalink
Fix portability issues discovered with fresh snap install.
Browse files Browse the repository at this point in the history
ARCH=native fixes SIGILL issues on other amd64 processors.
Static library dependencies where supported.
Package libunbound2 in the snap.
  • Loading branch information
Casey Marshall committed Sep 11, 2016
1 parent 0a56d83 commit 823843e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions contrib/snap/daemon.bash
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/bin/bash -e

export LD_LIBRARY_PATH=${SNAP_LIBRARY_PATH}:${SNAP}/usr/lib/x86_64-linux-gnu
export HOME=${SNAP_DATA}
cd ${SNAP_DATA}

Expand Down
1 change: 1 addition & 0 deletions contrib/snap/wallet.bash
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/bin/bash -e

export LD_LIBRARY_PATH=${SNAP_LIBRARY_PATH}:${SNAP}/usr/lib/x86_64-linux-gnu
export HOME=${SNAP_USER_DATA}
cd ${SNAP_USER_DATA}

Expand Down
9 changes: 9 additions & 0 deletions snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@ parts:

cmake-build:
plugin: cmake
configflags:
- -DBDB_STATIC=1
- -DUPNP_STATIC=1
- -DBoost_USE_STATIC_LIBS=1
- -DBoost_USE_STATIC_RUNTIME=1
- -DARCH=default
source: .
build-packages:
- gcc
Expand All @@ -58,5 +64,8 @@ parts:
- bison
- doxygen
- graphviz
stage-packages:
- libunbound2
snap:
- bin
- usr

0 comments on commit 823843e

Please sign in to comment.