File: try-to-avoid-rpath.diff

package info (click to toggle)
sqlrelay 1%3A0.37.1-3.1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 13,084 kB
  • ctags: 6,691
  • sloc: cpp: 48,136; python: 10,118; ansic: 9,673; java: 9,195; php: 8,839; perl: 8,827; sh: 8,554; ruby: 8,516; tcl: 5,039; makefile: 3,665
file content (55 lines) | stat: -rw-r--r-- 2,251 bytes parent folder | download | duplicates (3)
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
--- sqlrelay-0.34.3.orig/src/api/perl/SQLRConnection/Makefile.test
+++ sqlrelay-0.34.3/src/api/perl/SQLRConnection/Makefile.test
@@ -74,7 +74,7 @@
 rebuild: clean all
 
 libSQLRConnection.la: SQLRConnection.xs SQLRConnection.C SQLRConnection.lo
-	$(LIBTOOL) --mode=link $(CXX) -o $@ SQLRConnection.lo $(LIBS) -rpath $(PERLSITEARCH)/auto/Firstworks/SQLRConnection $(RPATH) -module
+	$(LIBTOOL) --mode=link $(CXX) -o $@ SQLRConnection.lo $(LIBS) $(RPATH) -module
 
 SQLRConnection.so:
 	if ( test -r .libs/libSQLRConnection.0.0.0 ); \
--- sqlrelay-0.34.3.orig/src/api/perl/SQLRCursor/Makefile.test
+++ sqlrelay-0.34.3/src/api/perl/SQLRCursor/Makefile.test
@@ -74,7 +74,7 @@
 rebuild: clean all
 
 libSQLRCursor.la: SQLRCursor.xs SQLRCursor.C SQLRCursor.lo
-	$(LIBTOOL) --mode=link $(CXX) -o $@ SQLRCursor.lo $(LIBS) -rpath $(PERLSITEARCH)/auto/Firstworks/SQLRCursor $(RPATH) -module
+	$(LIBTOOL) --mode=link $(CXX) -o $@ SQLRCursor.lo $(LIBS) $(RPATH) -module
 
 SQLRCursor.so:
 	if ( test -r .libs/libSQLRCursor.0.0.0 ); \
--- sqlrelay-0.34.3.orig/src/api/php/Makefile
+++ sqlrelay-0.34.3/src/api/php/Makefile
@@ -52,7 +52,7 @@
 rebuild: clean all
 
 libsql_relay.la: sql_relay.C sql_relay.lo
-	$(LIBTOOL) --mode=link $(CXX) -o $@ sql_relay.lo $(LIBS) -rpath $(PHPEXTDIR) $(RPATH) -module
+	$(LIBTOOL) --mode=link $(CXX) -o $@ sql_relay.lo $(LIBS) $(RPATH) -module
 
 sql_relay.so:
 	if ( test -r .libs/libsql_relay.0.0.0 ); \
--- sqlrelay-0.34.3.orig/src/api/python/Makefile
+++ sqlrelay-0.34.3/src/api/python/Makefile
@@ -31,7 +31,7 @@
 rebuild: clean all
 
 libCSQLRelay.la: $(SRCS) $(LOBJS)
-	$(LIBTOOL) --mode=link $(CXX) -o $@ $(LOBJS) $(LIBS) -rpath $(PYTHONDIR)/site-packages/SQLRelay $(RPATH) -module
+	$(LIBTOOL) --mode=link $(CXX) -o $@ $(LOBJS) $(LIBS) $(RPATH) -module
 
 CSQLRelay.so:
 	if ( test -r .libs/libCSQLRelay.0.0.0 ); \
--- sqlrelay-0.34.3.orig/src/api/ruby/Makefile
+++ sqlrelay-0.34.3/src/api/ruby/Makefile
@@ -56,7 +56,7 @@
 rebuild: clean all
 
 libsqlrelay.la: $(SRCS) $(LOBJS)
-	$(LIBTOOL) --mode=link $(CXX) -o $@ $(LOBJS) $(LIBS) -rpath $(RUBYDIR)/site-packages/SQLRelay $(RPATH) -module
+	$(LIBTOOL) --mode=link $(CXX) -o $@ $(LOBJS) $(LIBS) $(RPATH) -module
 
 sqlrelay.so:
 	if ( test -r .libs/libsqlrelay.0.0.0 ); \