You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
sems/debian/patches/build-fix-pie.patch

19 lines
444 B

Description: Build the library as shared
Otherwise we are trying to link a static library built as PIE into a
shared library.
Author: Guillem Jover <gjover@sipwise.com>
---
--- ngcp-sems-1.6.0.orig/apps/rtmp/librtmp/Makefile
+++ ngcp-sems-1.6.0/apps/rtmp/librtmp/Makefile
@@ -30,7 +30,7 @@ SO_posix=so.0
SO_mingw=dll
SO_EXT=$(SO_$(SYS))
-SHARED=no
+SHARED=yes
SODEF_yes=-fPIC
SOLIB_yes=librtmp.$(SO_EXT)
SOINST_yes=install_$(SO_EXT)