Skip to content

Commit 94b737e

Browse files
committed
Statically link libboost_program_options for tm1637_say util
1 parent e51786a commit 94b737e

3 files changed

Lines changed: 9 additions & 5 deletions

File tree

.github/workflows/lib_tm1637_rpi.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
push:
66
branches:
77
- main
8+
- dev
89

910
release:
1011
types: ['released', 'prereleased']

CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
cmake_minimum_required(VERSION 3.9)
22

33
set(lib-name TM1637Pi)
4-
set(lib-version 1.4)
4+
set(lib-version 1.4.1)
55
set(say-name tm1637_say)
66

77
# Project
@@ -44,6 +44,7 @@ file(GLOB_RECURSE say_src_files "${say_cpp_base}/*.cpp")
4444
# Say executable target
4545
add_executable(${say-name} ${say_src_files})
4646
# find required libs
47+
set(Boost_USE_STATIC_LIBS ON) # Statically link to Boost (no SOVERSION support in Debian?)
4748
find_package(Boost COMPONENTS program_options REQUIRED)
4849
# Link say executable with library and Boost boost_program_options
4950
target_link_libraries(${say-name} ${lib-name} dl Boost::program_options)

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,20 +31,22 @@ to any GPIO library at build time. The GPIO library is dynamically loaded at run
3131
## Installation
3232

3333
With [releases](https://github.com/neildavis/lib_tm1637_rpi/releases) from **v1.4.0** onwards
34-
I am making available prebuilt Debian (`.deb`) packages for both 32-bit (`armhf`) & 64-bit (`arm64`/`aarch64`) versions of Raspberry Pi OS ('Bookworm').
34+
I am making available prebuilt Debian (`.deb`) packages for both
35+
32-bit (`armhf`) & 64-bit (`arm64`/`aarch64`) versions of Raspberry Pi OS
36+
(Debian versions 12 '_Bookworm_' / 13 '_Trixie_').
3537

36-
Grab them from [here]([releases](https://github.com/neildavis/lib_tm1637_rpi/releases)) and install using `dpkg -i`: e.g.
38+
Download them from the [releases]([releases](https://github.com/neildavis/lib_tm1637_rpi/releases)) and install using `dpkg -i`: e.g.
3739

3840
```sh
3941
# 64-bit
40-
sudo dpkpg -i libtm1637pi_1.4_arm64.deb`
42+
sudo dpkpg -i libtm1637pi_1.4.1_arm64.deb`
4143
```
4244

4345
OR
4446

4547
```sh
4648
# 32-bit
47-
sudo dpkpg -i libtm1637pi_1.4_armhf.deb`
49+
sudo dpkpg -i libtm1637pi_1.4.1_armhf.deb`
4850
```
4951

5052
Alternatively, you can follow the instructions in this README to

0 commit comments

Comments
 (0)