X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=lang%2Flsqlite3%2FMakefile;h=3a0ab5d346d5aec8f2c7ced831ebe5928e7065d6;hb=926d344b2065fe2122823228452b08f6509baa32;hp=0f7b4b7c598f36f61ea994496ed402aefb86fefe;hpb=53f6628fcb4c226b54c1f54d831023572fabddb5;p=openwrt%2Fsvn-archive%2Farchive.git diff --git a/lang/lsqlite3/Makefile b/lang/lsqlite3/Makefile index 0f7b4b7c59..3a0ab5d346 100644 --- a/lang/lsqlite3/Makefile +++ b/lang/lsqlite3/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 2009 OpenWrt.org +# Copyright (C) 2009-2010 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -33,19 +33,18 @@ endef define Build/Configure endef -TARGET_CFLAGS += $(FPIC) $(TARGET_CPPFLAGS) +TARGET_CFLAGS += $(FPIC) $(TARGET_CPPFLAGS) -std=c99 TARGET_LDFLAGS += -llua define Build/Compile $(MAKE) -C $(PKG_BUILD_DIR) \ - SQLITE3INC="$(STAGING_DIR)/usr/include/" \ - SQLITE3LIB="$(STAGING_DIR)/usr/lib/" \ - LUAINC="$(TARGET_CPPFLAGS)" \ - LUALIB="$(TARGET_LDFLAGS)" \ - LIBS="-shared $(TARGET_LDFLAGS)" \ - CC="$(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \ - LD="$(TARGET_CROSS)ld -shared" + CC="$(TARGET_CC)" \ + CFLAGS="$(TARGET_CFLAGS)" \ + INCS="$(TARGET_CPPFLAGS)" \ + LIBS="$(TARGET_LDFLAGS)" \ + SHFLAGS="-shared" \ + UNAME="Linux" endef define Package/lsqlite3/install