Fix install of UCI
* Disable LUA for UCI (not needed) * fix linking by install lib and launch ldconfig FossilOrigin-Name: 4f863a6b45810f0bdd4b69bb18a28d1615bd9022f50ba765681575871240764e
This commit is contained in:
parent
9fb9db8539
commit
3dc1e109ed
@ -6,6 +6,10 @@ mkdir build
|
||||
cd build
|
||||
cmake ..
|
||||
make ubox
|
||||
mkdir -p /usr/local/include/libubox
|
||||
cp ../*.h /usr/local/include/libubox
|
||||
cp libubox.so /usr/local/lib
|
||||
ldconfig
|
||||
cd ../..
|
||||
|
||||
git clone git://nbd.name/uci.git uci
|
||||
@ -18,6 +22,7 @@ LDFLAGS=-L../../libubox/build/
|
||||
export CFLAGS
|
||||
export LDFLAGS
|
||||
|
||||
cmake ..
|
||||
cmake .. -DBUILD_LUA:BOOL=OFF
|
||||
make uci cli
|
||||
make install
|
||||
ldconfig
|
||||
|
Loading…
Reference in New Issue
Block a user