From: Jo-Philipp Wich Date: Fri, 22 May 2009 13:09:45 +0000 (+0000) Subject: [PATCH] fix uclib bug in jamvm X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;h=1d50c343f5dbba651599daa72a19b1f16002d841 [PATCH] fix uclib bug in jamvm I just realized that tls has some problems with ulibc. This patch disables it and uses more opewrt-style install directories for libraries. Signed-off-by: Roberto Riggio SVN-Revision: 15988 --- diff --git a/lang/jamvm/Makefile b/lang/jamvm/Makefile index bf7ae80810..95b09d160a 100644 --- a/lang/jamvm/Makefile +++ b/lang/jamvm/Makefile @@ -36,6 +36,8 @@ define Package/jamvm/description endef CONFIGURE_ARGS+= \ + --with-classpath-install-dir=/usr \ + --disable-tls \ --enable-ffi \ --disable-int-threading \ diff --git a/libs/classpath/Makefile b/libs/classpath/Makefile index 3941f0aca1..e7561b0deb 100644 --- a/libs/classpath/Makefile +++ b/libs/classpath/Makefile @@ -45,10 +45,10 @@ define Build/Compile endef define Package/classpath/install - $(INSTALL_DIR) $(1)/usr/local/classpath/share/classpath/ - $(INSTALL_DIR) $(1)/usr/local/classpath/lib/classpath/ - $(CP) $(PKG_INSTALL_DIR)/usr/share/classpath/glibj.zip $(1)/usr/local/classpath/share/classpath/ - $(CP) $(PKG_INSTALL_DIR)/usr/lib/classpath/* $(1)/usr/local/classpath/lib/classpath/ + $(INSTALL_DIR) $(1)/usr/share/classpath + $(INSTALL_DIR) $(1)/usr/lib/classpath + $(CP) $(PKG_INSTALL_DIR)/usr/share/classpath/glibj.zip $(1)/usr/share/classpath/ + $(CP) $(PKG_INSTALL_DIR)/usr/lib/classpath/* $(1)/usr/lib/classpath/ endef $(eval $(call BuildPackage,classpath))