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
|
cd build
|
||||||
cmake ..
|
cmake ..
|
||||||
make ubox
|
make ubox
|
||||||
|
mkdir -p /usr/local/include/libubox
|
||||||
|
cp ../*.h /usr/local/include/libubox
|
||||||
|
cp libubox.so /usr/local/lib
|
||||||
|
ldconfig
|
||||||
cd ../..
|
cd ../..
|
||||||
|
|
||||||
git clone git://nbd.name/uci.git uci
|
git clone git://nbd.name/uci.git uci
|
||||||
@ -18,6 +22,7 @@ LDFLAGS=-L../../libubox/build/
|
|||||||
export CFLAGS
|
export CFLAGS
|
||||||
export LDFLAGS
|
export LDFLAGS
|
||||||
|
|
||||||
cmake ..
|
cmake .. -DBUILD_LUA:BOOL=OFF
|
||||||
make uci cli
|
make uci cli
|
||||||
make install
|
make install
|
||||||
|
ldconfig
|
||||||
|
Loading…
Reference in New Issue
Block a user