kiss-mfavila-small/community-mod/cjson/build

10 lines
223 B
Plaintext
Raw Normal View History

#!/bin/sh -e
# Install static libs, avoid adding a 'cmake' dependency.
for lib in CJSON UTILS; do
sed -i "s/\$(INSTALL) \$(${lib}_SHARED)/& \$(${lib}_STATIC)/" Makefile
done
make
make DESTDIR="$1" PREFIX=/usr install