mirror of
https://git.openwrt.org/feed/routing.git
synced 2025-01-08 11:47:51 +08:00
olsrd: only compile pud for musl
Compiling pud on glibc results in errors. Do not compile it util it is fixed upstream. Signed-off-by: Nick Hainke <vincent@systemli.org>
This commit is contained in:
parent
6dac4d296c
commit
7ca6e2827f
@ -36,7 +36,7 @@ endef
|
||||
define Package/olsrd
|
||||
$(call Package/olsrd/template)
|
||||
MENU:=1
|
||||
DEPENDS:=+libpthread
|
||||
DEPENDS:=+libpthread +libgps
|
||||
endef
|
||||
|
||||
define Package/olsrd/conffiles
|
||||
@ -118,7 +118,7 @@ endef
|
||||
|
||||
define Package/olsrd-mod-pud
|
||||
$(call Package/olsrd/template)
|
||||
DEPENDS:=olsrd +libgps
|
||||
DEPENDS:=olsrd
|
||||
TITLE:=Position Update Distribution plugin
|
||||
endef
|
||||
|
||||
@ -170,7 +170,7 @@ MAKE_FLAGS+= \
|
||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||
STRIP="true" \
|
||||
INSTALL_LIB="true" \
|
||||
SUBDIRS="arprefresh bmf dot_draw dyn_gw dyn_gw_plain httpinfo jsoninfo netjson mdns nameservice p2pd pgraph pud quagga secure sgwdynspeed txtinfo watchdog"
|
||||
SUBDIRS="arprefresh bmf dot_draw dyn_gw dyn_gw_plain httpinfo jsoninfo netjson mdns nameservice p2pd pgraph quagga secure sgwdynspeed txtinfo watchdog $(if $(CONFIG_USE_MUSL),pud)"
|
||||
|
||||
define Build/Compile
|
||||
$(call Build/Compile/Default,all)
|
||||
@ -303,7 +303,9 @@ $(eval $(call BuildPackage,olsrd-mod-mdns))
|
||||
$(eval $(call BuildPackage,olsrd-mod-nameservice))
|
||||
$(eval $(call BuildPackage,olsrd-mod-p2pd))
|
||||
$(eval $(call BuildPackage,olsrd-mod-pgraph))
|
||||
ifeq ($(CONFIG_USE_MUSL),y)
|
||||
$(eval $(call BuildPackage,olsrd-mod-pud))
|
||||
endif
|
||||
$(eval $(call BuildPackage,olsrd-mod-quagga))
|
||||
$(eval $(call BuildPackage,olsrd-mod-secure))
|
||||
$(eval $(call BuildPackage,olsrd-mod-sgwdynspeed))
|
||||
|
Loading…
Reference in New Issue
Block a user