From fe2ff1224433a90c1cdbf930818684225634a311 Mon Sep 17 00:00:00 2001 From: darealshinji Date: Thu, 3 Dec 2015 22:41:24 +0100 Subject: [PATCH] fix building with autotools --- src/kvazaar.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/kvazaar.h b/src/kvazaar.h index 3db1ccee..75bac24d 100644 --- a/src/kvazaar.h +++ b/src/kvazaar.h @@ -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