projects
/
project
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c0a970d
)
Distro-Compatibility
author
Steven Barth
<steven@midlink.org>
Tue, 9 Dec 2008 21:03:46 +0000
(21:03 +0000)
committer
Steven Barth
<steven@midlink.org>
Tue, 9 Dec 2008 21:03:46 +0000
(21:03 +0000)
build/gccconfig.mk
patch
|
blob
|
history
diff --git
a/build/gccconfig.mk
b/build/gccconfig.mk
index bb308af8d12f023fb7dc9882ad009faca67efb44..d6af2c3e66dde0524a9f2c88713ddd115c8d580e 100644
(file)
--- a/
build/gccconfig.mk
+++ b/
build/gccconfig.mk
@@
-1,8
+1,8
@@
OS ?= $(shell uname)
OS ?= $(shell uname)
-LUA_SHLIBS = $(shell pkg-config --silence-errors --libs lua5.1)
+LUA_SHLIBS = $(shell pkg-config --silence-errors --libs lua5.1
|| pkg-config --silence-errors --libs lua
)
LUA_LIBS = $(if $(LUA_SHLIBS),$(LUA_SHLIBS),$(firstword $(wildcard /usr/lib/liblua.a /usr/local/lib/liblua.a /opt/local/lib/liblua.a)))
LUA_LIBS = $(if $(LUA_SHLIBS),$(LUA_SHLIBS),$(firstword $(wildcard /usr/lib/liblua.a /usr/local/lib/liblua.a /opt/local/lib/liblua.a)))
-LUA_CFLAGS = $(shell pkg-config --silence-errors --cflags lua5.1)
+LUA_CFLAGS = $(shell pkg-config --silence-errors --cflags lua5.1
|| pkg-config --silence-errors --cflags lua
)
CC = gcc
AR = ar
CC = gcc
AR = ar