jamvm: disable shared library, use the non-pic variant - makes the package much smaller
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 8 Jan 2012 23:43:39 +0000 (23:43 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 8 Jan 2012 23:43:39 +0000 (23:43 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@29700 3c298f89-4303-0410-b956-a3cf2f4a3e73

lang/jamvm/Makefile

index 374b146..77dadeb 100644 (file)
@@ -44,7 +44,9 @@ endef
 CONFIGURE_ARGS += \
        --with-java-runtime-library=gnuclasspath \
        --with-classpath-install-dir=/usr \
-       --disable-int-inlining
+       --disable-int-inlining \
+       --disable-shared \
+       --without-pic
 
 MAKE_FLAGS += \
        GLIBJ_ZIP=$(STAGING_DIR)/usr/share/classpath/glibj.zip
@@ -53,7 +55,6 @@ define Package/jamvm/install
        $(INSTALL_DIR) $(1)/usr
        $(CP) \
                $(PKG_INSTALL_DIR)/usr/bin \
-               $(PKG_INSTALL_DIR)/usr/lib \
                $(PKG_INSTALL_DIR)/usr/share \
                $(1)/usr/
 endef