mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-03 16:37:43 +00:00
neardal: properly quote output of pkg-config
Commit 5504039c4e (neardal: fix readline/libedit detection with static linking) added the output of pkg-config to the LIBS shell variable without adding quotes around it, breaking the logic if the output would ever consist of more than 1 word. Now, pkg-config --libs ncurses currently only outputs '-lncurses', so nothing is really broken (for now atleast), but lets add the quotes before it does or the syntax gets copied somewhere else where it does. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
dea306c78b
commit
1ae0e16afd
@ -25,7 +25,7 @@ endif
|
|||||||
# forgets to take that into account, causing the detection to fail
|
# forgets to take that into account, causing the detection to fail
|
||||||
# when linking statically
|
# when linking statically
|
||||||
ifeq ($(BR2_STATIC_LIBS),y)
|
ifeq ($(BR2_STATIC_LIBS),y)
|
||||||
NEARDAL_CONF_ENV += LIBS=$(shell $(PKG_CONFIG_HOST_BINARY) --libs ncurses)
|
NEARDAL_CONF_ENV += LIBS='$(shell $(PKG_CONFIG_HOST_BINARY) --libs ncurses)'
|
||||||
endif
|
endif
|
||||||
|
|
||||||
define NEARDAL_INSTALL_NCL
|
define NEARDAL_INSTALL_NCL
|
||||||
|
Loading…
x
Reference in New Issue
Block a user