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/
endef
define Package/libltdl/install