libplayer: add patch to fix build issue
PATCH 1/1 libplayer: add patch to fix build issue
Fixes
http://autobuild.buildroot.org/results/af5e72c2385896f2bdb5c1b98efd487afb46a502/build-end.log.
Signed-off-by Thomas Petazzoni <[email protected]>
--- package/libplayer/libplayer-add-fpic.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 package/libplayer/libplayer-add-fpic.patch
package/libplayer/libplayer-add-fpic.patch new file +18 -0
@@ -0,0 +1,18 @@ +Add -fPIC to CFLAGS + +-fPIC is needed to build shared library code. + +Signed-off-by: Thomas Petazzoni <[email protected]> + +Index: b/src/Makefile +=================================================================== +--- a/src/Makefile ++++ b/src/Makefile +@@ -9,6 +9,7 @@ + SHARED_LIBNAME_VERSION = $(SHARED_LIBNAME).$(VERSION) + SHARED_LIBNAME_MAJOR = $(SHARED_LIBNAME).$(shell echo $(VERSION) | cut -f1 -d.) + SHARED_LIBNAME_FLAGS = -shared -Wl,-soname,$(SHARED_LIBNAME_MAJOR) ++CFLAGS = -fPIC + + ifeq ($(BUILD_STATIC),yes) + BUILD_RULES += lib_static
Signature · 1 line
1.7.9.5
PATCH 1/1 libplayer: add patch to fix build issue
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Thomas" == Thomas Petazzoni <[email protected]> writes:
Thomas> Fixes
Thomas> http://autobuild.buildroot.org/results/af5e72c2385896f2bdb5c1b98efd487afb46a502/build-end.log.
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard