- $(INSTALL_DIR) $(1)/lib
- mv $(2)/lib/* $(1)/lib/
-# $(SED) 's,^dlopen_self=unknown,dlopen_self=yes,' \
-# -e 's,^dlopen_self_static=unknown,dlopen_self_static=no,' \
-# -e 's,^link_all_deplibs=unknown,link_all_deplibs=no,' \
-# $(2)/bin/libtool
+ $(INSTALL_DIR) $(1)/usr/lib $(1)/usr/include
+ mv $(2)/lib/* $(1)/usr/lib/
+ mv $(2)/include/* $(1)/usr/include/
+ $(SED) 's,\(hardcode_into_libs\)=yes,\1=no,g' $(2)/bin/libtool
+ $(CP) $(2)/bin/libtool $(2)/bin/libtool-ucxx
+ $(SED) 's,-lstdc++,-luClibc++,g' $(2)/bin/libtool-ucxx