fix libdrm compile
authorFelix Fietkau <nbd@openwrt.org>
Tue, 25 Dec 2007 03:22:01 +0000 (03:22 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 25 Dec 2007 03:22:01 +0000 (03:22 +0000)
SVN-Revision: 9916

XOrg/misc/libdrm/Makefile

index bf52e4c..9bf33f3 100644 (file)
@@ -37,8 +37,9 @@ define Build/Compile
 endef
 
 define Build/InstallDev
-       $(CP) $(PKG_BUILD_DIR)/libdrm/*.h $(1)/include 
-       $(CP) $(PKG_BUILD_DIR)/shared-core/*.h $(1)/include 
+       $(INSTALL_DIR) $(1)/include $(1)/usr/lib/pkgconfig
+       $(CP) $(PKG_BUILD_DIR)/libdrm/*.h $(1)/include/
+       $(CP) $(PKG_BUILD_DIR)/shared-core/*.h $(1)/include/
        $(CP) $(PKG_BUILD_DIR)/libdrm/.libs/libdrm.so* $(1)/usr/lib/
        $(CP) $(PKG_BUILD_DIR)/libdrm.pc $(1)/usr/lib/pkgconfig/
        rm -f $(1)/include/config.h