|
|
|
|
41
|
LUA_INC="-I$(STAGING_DIR)/usr/include/" \
|
41
|
LUA_INC="-I$(STAGING_DIR)/usr/include/" \
|
42
|
LUA_LIBDIR="$(STAGING_DIR)/usr/lib/" \
|
42
|
LUA_LIBDIR="$(STAGING_DIR)/usr/lib/" \
|
43
|
COMPAT_DIR="$(PKG_BUILD_DIR)/compat-5.1r5" \
|
43
|
COMPAT_DIR="$(PKG_BUILD_DIR)/compat-5.1r5" \
|
44
|
- LIB_OPTION="-shared $(TARGET_LDFLAGS)" \
|
|
|
|
|
44
|
+ LDFLAGS="-shared $(TARGET_LDFLAGS)" \
|
45
|
CC="$(TARGET_CC) $(TARGET_CFLAGS) $(FPIC) -std=c99" \
|
45
|
CC="$(TARGET_CC) $(TARGET_CFLAGS) $(FPIC) -std=c99" \
|
46
|
LD="$(TARGET_CROSS)ld -shared"
|
46
|
LD="$(TARGET_CROSS)ld -shared"
|
47
|
endef
|
47
|
endef
|