fixed linking library problem

I think lol
This commit is contained in:
Václav Šmejkal 2022-05-19 18:07:44 +02:00
parent e6e473db26
commit 3457482728

View File

@ -85,13 +85,13 @@ runInstall()
$compiler $bufferFlags $sourceFiles
bufferFlags="$defaultFlags -shared -ljson-c -lcurl "
bufferFlags="$defaultFlags -shared -ljson-c -lcurl"
###
echo "Compiling library... (flags: $bufferFlags)"
###
$compiler $bufferFlags -o $installOutput *.o
$compiler -o $installOutput *.o $bufferFlags
###
echo "Installing library..."