Browse Source

smstools3: fix CFLAGS and LFLAGS

Signed-off-by: Alexander Ryzhov <openwrt@ryzhov-al.ru>
lilik-openwrt-22.03
Alexander Ryzhov 9 years ago
parent
commit
8651f924a8
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      utils/smstools3/Makefile

+ 4
- 4
utils/smstools3/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=smstools3
PKG_VERSION:=3.1.15
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_MAINTAINER:=Gérald Kerma <dreagle@doukki.net>
PKG_LICENSE:=GPL-2.0
@ -50,11 +50,11 @@ TARGET_LDFLAGS += -liconv
BINDIR=/usr/local/bin
define Build/Compile
$(MAKE) -C "$(PKG_BUILD_DIR)"/src \
$(MAKE) -C "$(PKG_BUILD_DIR)/src" \
CC="$(TARGET_CC)" \
USER_CFLAGS='$(TARGET_CFLAGS) $(EXTRA_CFLAGS) $(TARGET_CPPFLAGS) $(EXTRA_CPPFLAGS) \
CFLAGS='$(TARGET_CFLAGS) $(EXTRA_CFLAGS) $(TARGET_CPPFLAGS) $(EXTRA_CPPFLAGS) \
-I"$(STAGING_DIR)/usr/lib/libiconv-full/include"' \
USER_LDFLAGS='$(TARGET_LFLAGS) $(EXTRA_LDFLAGS) -L"$(STAGING_DIR)/usr/lib/libiconv-full/lib"' \
LFLAGS='$(TARGET_LDFLAGS) $(EXTRA_LDFLAGS) -L"$(STAGING_DIR)/usr/lib/libiconv-full/lib"' \
all
endef


Loading…
Cancel
Save