From: Florian Fainelli Date: Fri, 10 Aug 2012 15:49:26 +0000 (+0000) Subject: [package] usbmuxd: fix build on 64-bits targets and pkconfig X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=02fccac5a1a699d9d14eabda6465876bbd960592;p=openwrt%2Fsvn-archive%2Farchive.git [package] usbmuxd: fix build on 64-bits targets and pkconfig SVN-Revision: 33084 --- diff --git a/utils/usbmuxd/Makefile b/utils/usbmuxd/Makefile index 9ebcc08f4c..7b3f03bc41 100644 --- a/utils/usbmuxd/Makefile +++ b/utils/usbmuxd/Makefile @@ -63,9 +63,11 @@ define Build/InstallDev $(INSTALL_DIR) $(1)/usr/include $(CP) $(PKG_INSTALL_DIR)/usr/include/*.h $(1)/usr/include/ $(INSTALL_DIR) $(1)/usr/lib - $(CP) $(PKG_INSTALL_DIR)/usr/lib/libusbmuxd.so* $(1)/usr/lib/ + $(CP) $(PKG_INSTALL_DIR)/usr/lib$(LIB_SUFFIX)/libusbmuxd.so* $(1)/usr/lib/ $(INSTALL_DIR) $(1)/usr/lib/pkgconfig - $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libusbmuxd.pc $(1)/usr/lib/pkgconfig/ + $(CP) $(PKG_INSTALL_DIR)/usr/lib$(LIB_SUFFIX)/pkgconfig/libusbmuxd.pc $(1)/usr/lib/pkgconfig/ + $(SED) 's,lib$(LIB_SUFFIX),lib,g' $(1)/usr/lib/pkgconfig/libusbmuxd.pc + $(SED) 's,\-dirty,$(PKG_VERSION),g' $(1)/usr/lib/pkgconfig/libusbmuxd.pc endef define Package/usbmuxd/install @@ -77,7 +79,7 @@ endef define Package/libusbmuxd/install $(INSTALL_DIR) $(1)/usr/lib - $(CP) $(PKG_INSTALL_DIR)/usr/lib/libusbmuxd.so.* $(1)/usr/lib/ + $(CP) $(PKG_INSTALL_DIR)/usr/lib$(LIB_SUFFIX)/libusbmuxd.so* $(1)/usr/lib/ endef $(eval $(call BuildPackage,usbmuxd))