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 bf52e4c5758f39d259622c4760f4aa395dadd99e..9bf33f3664a3fb5b2d2e083be1489f8b71d03b4a 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