[vlc-commits] contrib: fluidlite: Add patch to enable PIC
Marvin Scholz
git at videolan.org
Tue Oct 15 15:05:28 CEST 2019
vlc | branch: master | Marvin Scholz <epirat07 at gmail.com> | Fri Oct 11 19:20:34 2019 +0200| [bddc639a5711eb1a447335064c9007320c827e6f] | committer: Marvin Scholz
contrib: fluidlite: Add patch to enable PIC
Fixes linking issues on x86 Android
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=bddc639a5711eb1a447335064c9007320c827e6f
---
contrib/src/fluidlite/add-pic.diff | 11 +++++++++++
contrib/src/fluidlite/rules.mak | 1 +
2 files changed, 12 insertions(+)
diff --git a/contrib/src/fluidlite/add-pic.diff b/contrib/src/fluidlite/add-pic.diff
new file mode 100644
index 0000000000..b01f7efd72
--- /dev/null
+++ b/contrib/src/fluidlite/add-pic.diff
@@ -0,0 +1,11 @@
+--- ./CMakeLists.txt.orig 2019-10-11 19:18:01.000000000 +0200
++++ ./CMakeLists.txt 2019-10-11 19:18:04.000000000 +0200
+@@ -4,6 +4,8 @@ include(FindPkgConfig)
+
+ project(fluidlite)
+
++set(CMAKE_POSITION_INDEPENDENT_CODE ON)
++
+ list(APPEND HEADERS
+ include/fluidlite.h
+ )
diff --git a/contrib/src/fluidlite/rules.mak b/contrib/src/fluidlite/rules.mak
index 4ab3cc6029..e893a46c1c 100644
--- a/contrib/src/fluidlite/rules.mak
+++ b/contrib/src/fluidlite/rules.mak
@@ -22,6 +22,7 @@ DEPS_fluidlite = ogg $(DEPS_ogg)
fluidlite: fluidlite-$(FLUID_HASH).tar.xz .sum-fluidlite
$(UNPACK)
+ $(APPLY) $(SRC)/fluidlite/add-pic.diff
$(MOVE)
.fluidlite: fluidlite toolchain.cmake
More information about the vlc-commits
mailing list