Skip to contentSkip to conversation

live555: fix shared library build on x86

PATCH New Baruch Siach 2 participants 2 messages Dec 2, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 live555: fix shared library build on x86

-fPIC is required for shared libraries on x86.

Fixes:
http://autobuild.buildroot.net/results/6e7/6e78d3e29856c25d233f1629c31bc15f7ecb2f89/

---
 package/live555/live555.mk | 1 +
 1 file changed, 1 insertion(+)
package/live555/live555.mk +1 -0
index 7dbded3522cd..064450546fc2 100644
@@ -19,6 +19,7 @@ LIVE555_LIBRARY_LINK = $(TARGET_AR) cr
 else
 LIVE555_CONFIG_TARGET = linux-with-shared-libraries
 LIVE555_LIBRARY_LINK = $(TARGET_CC) -o
+LIVE555_CFLAGS += -fPIC
 endif
 
 ifndef ($(BR2_ENABLE_LOCALE),y)
Signature · 1 line
2.1.3