From f97352b6f868c2e0da6cdbf3aba932ea0ac63b40 Mon Sep 17 00:00:00 2001
From: Felix Fietkau <nbd@openwrt.org>
Date: Mon, 19 Nov 2007 23:03:09 +0000
Subject: fix libnl include issues which broke a few packages

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9581 3c298f89-4303-0410-b956-a3cf2f4a3e73
---
 package/libnl/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'package/libnl')

diff --git a/package/libnl/Makefile b/package/libnl/Makefile
index 28958f4a51..d232c77b3f 100644
--- a/package/libnl/Makefile
+++ b/package/libnl/Makefile
@@ -39,7 +39,8 @@ endef
 ifneq ($(CONFIG_LINUX_2_6_23),)
   define Build/InstallDev
 	$(CP) $(PKG_INSTALL_DIR)/* $(1)/
-	$(CP) $(PKG_BUILD_DIR)/include/linux $(1)/usr/include/
+	mkdir -p $(1)/usr/include/libnl
+	$(CP) $(PKG_BUILD_DIR)/include/linux $(1)/usr/include/libnl/
   endef
 
   define Build/UninstallDev
-- 
cgit v1.2.3