File: 05-makefile-soname.patch

package info (click to toggle)
expect 5.45.4-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster
  • size: 3,844 kB
  • sloc: ansic: 17,964; sh: 7,445; tcl: 384; makefile: 192; exp: 10
file content (14 lines) | stat: -rw-r--r-- 330 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Author: Sergei Golovan <sgolovan@debian.org>
Description: Adds '-soname' to the Makefile.

--- a/Makefile.in
+++ b/Makefile.in
@@ -289,7 +289,7 @@
 
 $(PKG_LIB_FILE): $(PKG_OBJECTS)
 	-rm -f $(PKG_LIB_FILE)
-	${MAKE_LIB}
+	${MAKE_LIB} -Wl,-soname,$(SONAME)
 	$(RANLIB) $(PKG_LIB_FILE)
 
 $(PKG_STUB_LIB_FILE): $(PKG_STUB_OBJECTS)