summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaromil <jaromil@dyne.org>2013-03-10 20:03:22 (GMT)
committer Jaromil <jaromil@dyne.org>2013-03-10 20:03:22 (GMT)
commit26aef0a46248dca1e97c4225dce7c1f17a1f5c30 (patch)
tree0136106948453e7177ed517f7c88376b4fc2ebec
parent773a8eeefea8ecc70d0a843c95742f4821e75e20 (diff)
small zmake fixes
-rwxr-xr-xzmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/zmake b/zmake
index bd2240c..81b519d 100755
--- a/zmake
+++ b/zmake
@@ -252,6 +252,7 @@ zconfigure() {
CPPFLAGS="$CPPFLAGS" \
CXXFLAGS="$CXXFLAGS" \
LDFLAGS="$LDFLAGS" \
+ PKG_CONFIG_PATH="$PREFIX/lib/pkgconfig" \
./configure ${=confflags} >> $LOGS
return $?
}
@@ -370,7 +371,7 @@ zinstall() {
list_sources() {
touch /tmp/zshaolin.list
typeset -a modules
- if [ "${#@}" = "0" ]; then modules=(`find ${ZHOME}/build -type f -name Sources`)
+ if [ "${#@}" = "1" ]; then modules=(`find ${ZHOME}/build -type f -name Sources`)
else
shift
for m in ${=@}; do