vnstat: respect LDFLAGS 2079/head
authorAlexander Ryzhov <github@ryzhov-al.ru>
Sun, 6 Dec 2015 13:53:51 +0000 (08:53 -0500)
committerAlexander Ryzhov <github@ryzhov-al.ru>
Sun, 6 Dec 2015 13:53:51 +0000 (08:53 -0500)
Signed-off-by: Alexander Ryzhov <openwrt@ryzhov-al.ru>
net/vnstat/Makefile

index cae144e42e876fc942ceffbfb313c8bc34e3ba96..31edf91166a024ecbec903a6af414c5af93d28a0 100644 (file)
@@ -63,7 +63,8 @@ endef
 define Build/Compile/vnstat
        +$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)"
+               CFLAGS="$(TARGET_CFLAGS)" \
+               LDFLAGS="$(TARGET_LDFLAGS)"
 endef
 
 define Build/Compile/vnstati