cleanup
[openwrt/svn-archive/archive.git] / libs / mysql / Makefile
index db7bb50..201a555 100644 (file)
@@ -23,13 +23,14 @@ PKG_MD5SUM:=f18153b0239aaa03fc5a751f2d82cb71
 PKG_CAT:=zcat
 
 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
+PKG_BUILDDEP:=libncurses libreadline
 
 include $(INCLUDE_DIR)/package.mk
 
 define Package/libmysqlclient
   SECTION:=libs
   CATEGORY:=Libraries
-  DEPENDS:=+zlib
+  DEPENDS:=zlib
   TITLE:=MySQL client library
   DESCRIPTION:=MySQL client library.
   URL:=http://dev.mysql.com/
@@ -47,10 +48,6 @@ define Build/Configure
                CXXFLAGS="$(TARGET_CFLAGS)" \
                CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
                LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
-               ac_atomic_add=yes \
-               ac_atomic_sub=yes \
-               ac_cv_sys_restartable_syscalls=yes \
-               ac_cv_conv_longlong_to_float=yes \
                mysql_cv_compress=yes \
                mysql_cv_gethostname_style=glibc2 \
                ./configure \
@@ -91,6 +88,7 @@ define Build/Configure
                        --without-docs \
                        --without-bench \
                        --without-readline \
+                       --with-named-thread-libs=-lpthread \
        );
 endef