voicemngr: Update LD_LIBRARY_PATH for BCM

Update the LD_LIBRARY_PATH after all BCM libraries have moved to a
separate sub-directory.

In the future, we should probably set the RUNPATH accordingly already at
build time.

Signed-off-by: Andreas Gnau <andreas.gnau@iopsys.eu>
This commit is contained in:
Andreas Gnau 2023-10-19 14:52:09 +02:00
parent f110bdbe68
commit 68042169ff

View file

@ -9,7 +9,7 @@ NAME=voicemngr
start_service() { start_service() {
[ "$(db -q get hw.board.hasVoice)" = "1" ] || return [ "$(db -q get hw.board.hasVoice)" = "1" ] || return
[ -d "/usr/lib/broadcom" ] && BCM_LIBS=LD_LIBRARY_PATH=/usr/lib/broadcom [ -d "/usr/lib/broadcom" ] && BCM_LIBS=LD_LIBRARY_PATH=/lib/broadcom:/usr/lib/broadcom
procd_open_instance procd_open_instance
procd_set_param env hw_board_hasDect="$(db get hw.board.hasDect)" \ procd_set_param env hw_board_hasDect="$(db get hw.board.hasDect)" \