Build system: symlink dependency libs to bin/lib
parent
b18a97713d
commit
362ec5f4f9
|
@ -73,7 +73,7 @@ mkdir -pv bin/tools
|
|||
# add compile commands to this array
|
||||
COMPILE_COMMANDS=(
|
||||
"$CXX_WITH_FLAGS src/tools/dumpnbt.cpp -Lbin/lib -l:nbt.so -o bin/tools/dumpnbt"
|
||||
"$CXX_WITH_FLAGS src/tools/hexnet.cpp -Ldependencies/sockpp-0.7.1/build -l:libsockpp.so -Idependencies/sockpp-0.7.1/include -o bin/tools/hexnet"
|
||||
"$CXX_WITH_FLAGS src/tools/hexnet.cpp -Lbin/lib -l:cli.so -l:libsockpp.so -Idependencies/sockpp-0.7.1/include -o bin/tools/hexnet"
|
||||
)
|
||||
for command in ${!COMPILE_COMMANDS[@]}; do
|
||||
echo "${COMPILE_COMMANDS[command]}"
|
||||
|
|
|
@ -19,5 +19,11 @@ rm -rv ./bin
|
|||
rm -vf .endianness
|
||||
rm -vf resources/check_endianness
|
||||
mkdir -v ./bin
|
||||
mkdir -v ./bin/lib
|
||||
|
||||
ln -vs ../../dependencies/sockpp-0.7.1/build/libsockpp.so bin/lib/
|
||||
ln -vs ../../dependencies/sockpp-0.7.1/build/libsockpp.so.0 bin/lib/
|
||||
ln -vs ../../dependencies/sockpp-0.7.1/build/libsockpp.so.0.7.1 bin/lib/
|
||||
|
||||
set -v
|
||||
echo -n "" > ./bin/.placeholder
|
||||
|
|
Loading…
Reference in New Issue