fix building with autotools

This commit is contained in:
darealshinji 2015-12-03 22:41:24 +01:00
parent 8104196da6
commit fe2ff12244

View file

@ -34,6 +34,10 @@
extern "C" {
#endif
#if defined(KVZ_STATIC_LIB) && defined(PIC)
#undef KVZ_STATIC_LIB
#endif
#if defined(KVZ_STATIC_LIB)
// Using or building kvazaar as a static library.
#define KVZ_PUBLIC