|
|
|
@ -2,8 +2,7 @@
|
|
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
|
|
|
# |
|
|
|
|
# Filename: package/.../luafilesystem/luafilesystem.conf |
|
|
|
|
# Copyright (C) 2008 The OpenSDE Project |
|
|
|
|
# Copyright (C) 2006 The T2 SDE Project |
|
|
|
|
# Copyright (C) 2009 The OpenSDE Project |
|
|
|
|
# |
|
|
|
|
# More information can be found in the files COPYING and README. |
|
|
|
|
# |
|
|
|
@ -13,17 +12,4 @@
|
|
|
|
|
# GNU General Public License can be found in the file COPYING. |
|
|
|
|
# --- SDE-COPYRIGHT-NOTE-END --- |
|
|
|
|
|
|
|
|
|
LFS_LIBNAME=lfs-${ver}.so |
|
|
|
|
LUA_INC=$( pkgprefix includedir lua ) |
|
|
|
|
|
|
|
|
|
var_append makeopt ' ' "LIBNAME=$LFS_LIBNAME" |
|
|
|
|
var_append makeopt ' ' "LIB_OPTION='$myLIBS -shared'" |
|
|
|
|
|
|
|
|
|
WARN="-O2 -Wall -fPIC -fpic -W -Waggregate-return -Wcast-align -Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings" |
|
|
|
|
var_append CFLAGS ' ' "$WARN -I$LUA_INC -DS_ISSOCK $myCFLAGS" |
|
|
|
|
export CFLAGS |
|
|
|
|
|
|
|
|
|
var_append makeinstopt ' ' "LUA_LIBDIR=$root/$pkglibdir" |
|
|
|
|
var_append makeinstopt ' ' "LUA_DIR=$root/$pkgdatadir" |
|
|
|
|
var_append makeinstopt ' ' "LIBNAME=$LFS_LIBNAME" |
|
|
|
|
|
|
|
|
|
var_append makeinstopt ' ' "LUA_LIBDIR=$root$lualibdir" |
|
|
|
|