live555: fix shared library build on x86
-fPIC is required for shared libraries on x86. Fixes: http://autobuild.buildroot.net/results/6e7/6e78d3e29856c25d233f1629c31bc15f7ecb2f89/ Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
8214188319
commit
2d782490a5
|
@ -19,6 +19,7 @@ LIVE555_LIBRARY_LINK = $(TARGET_AR) cr
|
||||||
else
|
else
|
||||||
LIVE555_CONFIG_TARGET = linux-with-shared-libraries
|
LIVE555_CONFIG_TARGET = linux-with-shared-libraries
|
||||||
LIVE555_LIBRARY_LINK = $(TARGET_CC) -o
|
LIVE555_LIBRARY_LINK = $(TARGET_CC) -o
|
||||||
|
LIVE555_CFLAGS += -fPIC
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifndef ($(BR2_ENABLE_LOCALE),y)
|
ifndef ($(BR2_ENABLE_LOCALE),y)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user