[packages] strace: fix compile with external toolchain by adding kernel include dir to cflags (#6695)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@19693 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
3f4f13d716
commit
012b224240
@ -6,6 +6,7 @@
|
||||
#
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
include $(INCLUDE_DIR)/kernel.mk
|
||||
|
||||
PKG_NAME:=strace
|
||||
PKG_RELEASE:=2
|
||||
@ -29,6 +30,9 @@ include $(INCLUDE_DIR)/package.mk
|
||||
CONFIGURE_VARS += \
|
||||
ac_cv_header_linux_netlink_h=yes
|
||||
|
||||
TARGET_CFLAGS += \
|
||||
-I$(LINUX_DIR)/include
|
||||
|
||||
define Package/strace
|
||||
SECTION:=utils
|
||||
CATEGORY:=Utilities
|
||||
|
Loading…
x
Reference in New Issue
Block a user