summaryrefslogtreecommitdiffstats
path: root/debian/patches/remove-rpath-from-pc.patch
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--debian/patches/remove-rpath-from-pc.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/patches/remove-rpath-from-pc.patch b/debian/patches/remove-rpath-from-pc.patch
new file mode 100644
index 0000000..fbd53fa
--- /dev/null
+++ b/debian/patches/remove-rpath-from-pc.patch
@@ -0,0 +1,15 @@
+Description: Remove rpath from the PC file. Since debian is installing to the
+ /usr prefix, it's unnecessary and generates a lintian warning.
+Forwarded: not-needed
+Author: Stephen Gelman <ssgelm@debian.org>
+Last-Update: 2021-11-11
+---
+--- a/opentracing-c-wrapper.pc.in
++++ b/opentracing-c-wrapper.pc.in
+@@ -8,5 +8,5 @@
+ Version: @VERSION@
+
+ Requires:
+-Libs: -L${libdir} -Wl,--rpath,${libdir} -lopentracing-c-wrapper
++Libs: -L${libdir} -lopentracing-c-wrapper
+ Cflags: -I${includedir}