* mark python sqlite DEP opt and update .cache
[t2sde.git] / package / lua / luaexpat / luaexpat.conf
blob648ee1206d46e9bc9364ad6453cee9534ec53483
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/luaexpat/luaexpat.conf
3 # Copyright (C) 2006 - 2023 The T2 SDE Project
4
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
7
8 # This program is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License version 2.
10 # --- T2-COPYRIGHT-NOTE-END ---
12 # inherit some stuff like myCFLAGS, myLIBS
13 . $base/package/*/*/lua-conf.in
15 pkgprefix -t lua expat
17 LIBNAME=lxp-${ver}.so
18 LUA_INC=$(pkgprefix includedir lua)
19 EXPAT_INC=$(pkgprefix includedir expat)
21 var_append makeopt ' ' "LIBNAME=lxp-${ver}.so"
22 var_append makeopt ' ' "LIB_OPTION='-shared -lexpat $myLIBS'"
24 var_append CFLAGS ' ' "-ansi -fPIC -fpic -I$LUA_INC -I$EXPAT_INC $myCFLAGS"
25 export CFLAGS
27 var_append makeinstopt ' ' "LUA_LIBDIR=$root$pkglibdir"
28 var_append makeinstopt ' ' "LUA_DIR=$root$pkgdatadir"
29 var_append makeinstopt ' ' "LIBNAME=lxp-${ver}.so"