qos-gargoyle: fix missing ldflags

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
Tianling Shen 2022-05-31 01:31:11 +08:00
parent 367dacfe9c
commit 5f06907f91
No known key found for this signature in database
GPG Key ID: 6850B6345C862176

View File

@ -24,6 +24,8 @@ endef
define Build/Configure
endef
TARGET_LDFLAGS+= -lmnl
define Build/Compile
-$(MAKE) -C $(PKG_BUILD_DIR) clean
$(MAKE) -C $(PKG_BUILD_DIR) \
@ -48,9 +50,11 @@ define Package/qos-gargoyle/install
endef
define Package/qos-gargoyle/prerm
$${IPKG_INSTROOT}/etc/init.d/qos_gargoyle stop 2>/dev/null
$${IPKG_INSTROOT}/etc/init.d/qos_gargoyle disable 2>/dev/null
ls >/dev/null 2>&1
[ -n $${PKG_INSTROOT} ] || {
/etc/init.d/qos_gargoyle stop 2>/dev/null
/etc/init.d/qos_gargoyle disable 2>/dev/null
exit 0
}
endef
$(eval $(call BuildPackage,qos-gargoyle))