protobuf-c-text: compile with -fPIC
authorRobert Swiecki <robert@swiecki.net>
Sun, 28 May 2017 12:41:03 +0000 (14:41 +0200)
committerRobert Swiecki <robert@swiecki.net>
Sun, 28 May 2017 12:41:03 +0000 (14:41 +0200)
Makefile

index cc2633aebacf9ad788957b9f2bf2fc6ab0762d3d..cea57d98e4f05ef92936bbd0724ba412b1419542 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -90,7 +90,7 @@ kafel/libkafel.a:
        $(MAKE) -C kafel
 
 protobuf-c-text/protobuf-c-text/.libs/libprotobuf-c-text.a:
-       sh -c "cd protobuf-c-text; ./autogen.sh;"
+       sh -c "cd protobuf-c-text; CFLAGS=\"-fPIC\" ./autogen.sh;"
        $(MAKE) -C protobuf-c-text
 
 $(PROTO_DEPS): config.proto