Link error when building gvpr with -DDEBUG using autotools on Linux
Steps to reproduce
export CFLAGS="-DDEBUG"
export CXXFLAGS="-DDEBUG"
./autogen.sh
./configure --prefix=/home/magjac/graphviz/mybuild --enable-debug
make
make install
Expected Behaviour
No error.
Actual Behaviour
/usr/bin/ld: gvpr-gvprmain.o: undefined reference to symbol 'AgIdDisc'
//builds/magjac/graphviz/graphviz-2.44.2~dev.20200827.1210/lib/cgraph/.libs/libcgraph.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
OS Version
Ubuntu 18.04
Graphviz Version
2.44.2~dev built from magjac/graphviz@a84847fa
Additional info
CI job: https://gitlab.com/magjac/graphviz/-/jobs/706648966
Is gvpr statically linked or what does this mean?