mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-01 15:37:44 +00:00
bmon: link dynamically unless explicitly requested otherwise
Commit 009d8fceab4d (add --{enable,disable}-{shared,static} automatically) caused us to pass --enable-static in the normal (non-static) case as well, which bmon interpretes as a request to link the bmon program statically, bloating the image. Fix it by passing an extra --disable-static to bmon configure to nullify this. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
3790e3ceed
commit
587863b039
@ -9,6 +9,11 @@ BMON_SOURCE = bmon-$(BMON_VERSION).tar.gz
|
|||||||
BMON_SITE = http://distfiles.gentoo.org/distfiles
|
BMON_SITE = http://distfiles.gentoo.org/distfiles
|
||||||
BMON_DEPENDENCIES = ncurses
|
BMON_DEPENDENCIES = ncurses
|
||||||
|
|
||||||
|
ifneq ($(BR2_PREFER_STATIC_LIB),y)
|
||||||
|
# link dynamically unless explicitly requested otherwise
|
||||||
|
BMON_CONF_OPT += --disable-static
|
||||||
|
endif
|
||||||
|
|
||||||
define BMON_UNINSTALL_TARGET_CMDS
|
define BMON_UNINSTALL_TARGET_CMDS
|
||||||
rm -f $(TARGET_DIR)/usr/bin/bmon
|
rm -f $(TARGET_DIR)/usr/bin/bmon
|
||||||
endef
|
endef
|
||||||
|
Loading…
x
Reference in New Issue
Block a user