#
-# Copyright (C) 2006 OpenWrt.org
+# Copyright (C) 2007 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
--without-libidn \
--without-nss \
--with-zlib="$(STAGING_DIR)/usr" \
- --disable-gssapi
+
+CONFIGURE_VARS += \
+ LDFLAGS="$$$$LDFLAGS -lcrypto -lssl -lz" \
+ CC="$(filter-out ccache,$(TARGET_CC))"
+
+define Build/Configure
+ $(call Build/Configure/Default,,bash)
+endef
define Build/Compile
- $(MAKE) -C $(PKG_BUILD_DIR) DESTDIR="$(PKG_INSTALL_DIR)" install
+ $(MAKE) -C $(PKG_BUILD_DIR) \
+ DESTDIR="$(PKG_INSTALL_DIR)" \
+ CC="$(TARGET_CC)" \
+ install
endef
define Build/InstallDev