# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
-# $Id$
include $(TOPDIR)/rules.mk
prefix="$(2)" \
exec_prefix="$(2)" \
install
- $(INSTALL_DIR) $(1)/lib $(1)/usr/include
- mv $(2)/lib/* $(1)/lib/
+ $(INSTALL_DIR) $(1)/usr/lib $(1)/usr/include
+ mv $(2)/lib/* $(1)/usr/lib/
mv $(2)/include/* $(1)/usr/include/
$(INSTALL_DIR) $(STAGING_DIR_HOST)/share/aclocal
- mv $(2)/share/aclocal/* $(STAGING_DIR_HOST)/share/aclocal/
+ $(CP) $(2)/share/aclocal/* $(STAGING_DIR_HOST)/share/aclocal/
+ $(SED) 's,\(hardcode_into_libs\)=yes,\1=no,g' $(2)/bin/libtool
endef
define Package/libltdl/install