|
@@ -54,6 +54,12 @@ endif
|
|
ifeq ($(BR2_PACKAGE_ZLIB),y)
|
|
ifeq ($(BR2_PACKAGE_ZLIB),y)
|
|
RUBY_DEPENDENCIES += zlib
|
|
RUBY_DEPENDENCIES += zlib
|
|
endif
|
|
endif
|
|
|
|
+ifeq ($(BR2_PACKAGE_GMP),y)
|
|
|
|
+ RUBY_DEPENDENCIES += gmp
|
|
|
|
+ RUBY_CONF_OPT += --with-gmp
|
|
|
|
+else
|
|
|
|
+ RUBY_CONF_OPT += --without-gmp
|
|
|
|
+endif
|
|
|
|
|
|
# Remove rubygems and friends, as they need extensions that aren't
|
|
# Remove rubygems and friends, as they need extensions that aren't
|
|
# built and a target compiler.
|
|
# built and a target compiler.
|