Use _LDADD to specify libraries instead of _LDFLAGS
This is because _LDFLAGS comes before _LDADD. If we specify a library and another library in _LDADD depends on it, we get undefined reference error.
Showing
Please register or sign in to comment