diff options
Diffstat (limited to '')
| -rw-r--r-- | lua-cjson.spec | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lua-cjson.spec b/lua-cjson.spec index ca502b3..07064e9 100644 --- a/lua-cjson.spec +++ b/lua-cjson.spec | |||
| @@ -24,12 +24,13 @@ Lua CJSON provides fast, standards compliant JSON support for Lua. | |||
| 24 | 24 | ||
| 25 | 25 | ||
| 26 | %build | 26 | %build |
| 27 | make %{?_smp_mflags} CFLAGS="%{optflags}" LUA_INCLUDE_DIR="%{_includedir}" | 27 | make %{?_smp_mflags} CFLAGS="%{optflags}" CJSON_CFLAGS="-DUSE_POSIX_USELOCALE" \ |
| 28 | LUA_INCLUDE_DIR="%{_includedir}" | ||
| 28 | 29 | ||
| 29 | 30 | ||
| 30 | %install | 31 | %install |
| 31 | rm -rf "$RPM_BUILD_ROOT" | 32 | rm -rf "$RPM_BUILD_ROOT" |
| 32 | make install DESTDIR="$RPM_BUILD_ROOT" LUA_LIB_DIR="%{lualibdir}" | 33 | make install DESTDIR="$RPM_BUILD_ROOT" LUA_MODULE_DIR="%{lualibdir}" |
| 33 | 34 | ||
| 34 | 35 | ||
| 35 | %clean | 36 | %clean |
