Changeset 20435


Ignore:
Timestamp:
2010-03-26T01:53:57+01:00 (8 years ago)
Author:
nico
Message:

[packages] lsqlite3: fix compilation, set INCS & LIBS, pass UNAME to prevent it from being guessed from the host

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/lang/lsqlite3/Makefile

    r18916 r20435  
    11# 
    2 # Copyright (C) 2009 OpenWrt.org 
     2# Copyright (C) 2009-2010 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    4040define Build/Compile 
    4141        $(MAKE) -C $(PKG_BUILD_DIR) \ 
    42                 SQLITE3INC="$(STAGING_DIR)/usr/include/" \ 
    43                 SQLITE3LIB="$(STAGING_DIR)/usr/lib/" \ 
    44                 LUAINC="$(TARGET_CPPFLAGS)" \ 
    45                 LUALIB="$(TARGET_LDFLAGS)" \ 
    46                 LIBS="-shared $(TARGET_LDFLAGS)" \ 
    47                 CC="$(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \ 
    48                 LD="$(TARGET_CROSS)ld -shared" 
     42                CC="$(TARGET_CC)" \ 
     43                CFLAGS="$(TARGET_CFLAGS)" \ 
     44                INCS="$(TARGET_CPPFLAGS)" \ 
     45                LIBS="$(TARGET_LDFLAGS)" \ 
     46                SHFLAGS="-shared" \ 
     47                UNAME="Linux"  
    4948endef 
    5049 
Note: See TracChangeset for help on using the changeset viewer.