Hello,
I have an app that uses wxwidgets and libpq. I want to link it statically.
I'm using this linker flags
LDADD = `wx-config --libs --static=yes` `pkg-config libpq --libs
--static` ${INCDIR} -static -lssp -liconv
It builds the app successfully. It links the wxwidgets libraries
statically, but it links the libpq dynamically.
I tried various other linker flags, but cannot figure it out on my own.
Could somebody help me?
I'm using mingw64 and gcc.
Thanks you
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public