Description: Add debug instructions
 Tweak make file to build a shared lib with debug symbols.
 .
 Building with debug symbol to strip them in binary package is rather debian specific, so this path is not forwarded upstream.
Forwarded: not-needed
Author: dod
--- a/Makefile
+++ b/Makefile
@@ -2,14 +2,14 @@
 CC=cc
 PLANTUML=plantuml
 INSTALL=install
-CFLAGS=$(shell pkg-config --cflags sqlite3) $(shell pcre2-config --cflags) -fPIC
+MY_CFLAGS=$(shell pkg-config --cflags sqlite3) $(shell pcre2-config --cflags) -fPIC
 LIBS=$(shell pcre2-config --libs8)
 prefix=/usr
 
 .PHONY : doc check install dist clean
 
 pcre2.so: pcre2.c
-	${CC} -shared -o $@ ${CFLAGS} -W -Werror $^ ${LIBS}
+	${CC} -shared -o $@ ${CFLAGS} ${MY_CFLAGS} -W -Werror $^ ${LIBS} ${LDFLAGS}
 
 
 doc: test/50-run.svg
