From 8e766f7ca6b57d15c4376790303193035d0c94a6 Mon Sep 17 00:00:00 2001 From: anon Date: Wed, 2 Aug 2023 20:54:56 +0200 Subject: [PATCH] fix linking, use debug --- build.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build.sh b/build.sh index b4c6763..dd73e9c 100755 --- a/build.sh +++ b/build.sh @@ -8,9 +8,9 @@ PROGN=${PROGN:-probotic} PREFIX=${PREFIX:-$DIR} CC=${CC-cc} -CFLAGS='-std=c99 -Wall -Wextra -Wpedantic -Wno-unused-parameter' -CPPFLAGS="-I/usr/bin/ircclient/ -Iinclude -D_GNU_SOURCE -DPROGN=\"$PROGN\"" -LDFLAGS='-lircclient' +CFLAGS='-std=c99 -Wall -Wextra -Wpedantic -Wno-unused-parameter -g' +CPPFLAGS="-I/usr/bin/ircclient/ -I/usr/include/libircclient/ -Iinclude -D_GNU_SOURCE -DPROGN=\"$PROGN\"" +LDFLAGS='-lircclient -lsqlite3' mkdir -p $PREFIX && echo "Made directory: $PREFIX"