Skip to content

Commit

Permalink
Portduino-buildroot: Remove pkg-config optional libs (meshtastic#5573)
Browse files Browse the repository at this point in the history
  • Loading branch information
vidplace7 authored Dec 15, 2024
1 parent 4a1239f commit 6d8be13
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions variants/portduino-buildroot/platformio.ini
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
[env:buildroot]
extends = portduino_base
; The pkg-config commands below optionally add link flags.
; the || : is just a "or run the null command" to avoid returning an error code
; Optional libraries should be appended to `PLATFORMIO_BUILD_FLAGS`
; environment variable in the buildroot environment.
build_flags = ${portduino_base.build_flags} -O0 -I variants/portduino-buildroot
-std=c++17
!pkg-config --libs libulfius --silence-errors || :
!pkg-config --libs openssl --silence-errors || :
board = buildroot
lib_deps = ${portduino_base.lib_deps}
build_src_filter = ${portduino_base.build_src_filter}

0 comments on commit 6d8be13

Please sign in to comment.