File: 1010-Makefile-avoid-rpath.patch

package info (click to toggle)
ucspi-proxy 0.99-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 380 kB
  • sloc: ansic: 1,957; makefile: 46
file content (25 lines) | stat: -rw-r--r-- 753 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From 7e974cb9897e3170d13bede8b30d382f0b4e3bf0 Mon Sep 17 00:00:00 2001
From: Gerrit Pape <pape@smarden.org>
Date: Tue, 13 May 2008 20:43:36 +0000
Subject: [PATCH] Makefile: avoid rpath

---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 43fa166..8571c4a 100644
--- a/Makefile
+++ b/Makefile
@@ -47,7 +47,7 @@ load: conf-ld conf-bglibs
 	( bglibs=`head -n 1 conf-bglibs`; \
 	  echo '#!/bin/sh';\
 	  echo 'main="$$1"; shift';\
-	  echo exec `head -n 1 conf-ld` -L. "-L'$${bglibs}'" "-Wl,-R'$${bglibs}'" '-o "$$main" "$$main.o" $${1+"$$@"}' -lbg-sysdeps; \
+	  echo exec `head -n 1 conf-ld` -L. "-L'$${bglibs}'" '-o "$$main" "$$main.o" $${1+"$$@"}' -lbg; \
 	) >load
 	chmod 755 load
 
-- 
2.0.1