Install library locally for compilation
This commit is contained in:
parent
87252b7084
commit
24bb775f25
1 changed files with 2 additions and 0 deletions
2
Makefile
2
Makefile
|
@ -18,6 +18,7 @@ release:
|
||||||
lib_path:
|
lib_path:
|
||||||
@rm -rf $(LIB_DIR)
|
@rm -rf $(LIB_DIR)
|
||||||
@mkdir -p $(LIB_DIR)
|
@mkdir -p $(LIB_DIR)
|
||||||
|
@rm -f /usr/lib/libsciter-gtk-64.so
|
||||||
|
|
||||||
pandoc: lib_path
|
pandoc: lib_path
|
||||||
wget https://github.com/jgm/pandoc/releases/download/${PANDOC_VERSION}/${PANDOC_DL} -O $(LIB_DIR)/$(PANDOC_DL)
|
wget https://github.com/jgm/pandoc/releases/download/${PANDOC_VERSION}/${PANDOC_DL} -O $(LIB_DIR)/$(PANDOC_DL)
|
||||||
|
@ -34,6 +35,7 @@ wktox: lib_path
|
||||||
sciter: lib_path
|
sciter: lib_path
|
||||||
wget https://sciter.com/sdk/sciter-sdk.zip -O $(LIB_DIR)/sciter.zip
|
wget https://sciter.com/sdk/sciter-sdk.zip -O $(LIB_DIR)/sciter.zip
|
||||||
unzip -j $(LIB_DIR)/sciter.zip "bin.gtk/libsciter-gtk-64.so" -d $(LIB_DIR)
|
unzip -j $(LIB_DIR)/sciter.zip "bin.gtk/libsciter-gtk-64.so" -d $(LIB_DIR)
|
||||||
|
ln -sfP $(LIB_DIR)/libsciter-gtk-64.so /usr/lib/libsciter-gtk-64.so
|
||||||
rm $(LIB_DIR)/sciter.zip
|
rm $(LIB_DIR)/sciter.zip
|
||||||
|
|
||||||
lib: pandoc wktox sciter
|
lib: pandoc wktox sciter
|
||||||
|
|
Reference in a new issue