SPECS (rpath): test.spec - rpath with multiple components

glen glen at pld-linux.org
Wed Jun 11 17:27:40 CEST 2008


Author: glen                         Date: Wed Jun 11 15:27:40 2008 GMT
Module: SPECS                         Tag: rpath
---- Log message:
- rpath with multiple components

---- Files affected:
SPECS:
   test.spec (1.16.4.85.2.1 -> 1.16.4.85.2.2) 

---- Diffs:

================================================================
Index: SPECS/test.spec
diff -u SPECS/test.spec:1.16.4.85.2.1 SPECS/test.spec:1.16.4.85.2.2
--- SPECS/test.spec:1.16.4.85.2.1	Wed Jun 11 16:52:04 2008
+++ SPECS/test.spec	Wed Jun 11 17:27:34 2008
@@ -18,7 +18,7 @@
 EOF
 
 %build
-%{__cc} -shared test.c -o libtest.so -Wl,-rpath,'$ORIGIN'
+%{__cc} -shared test.c -o libtest.so -Wl,-rpath,'$ORIGIN:/opt/%{_lib}'
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -38,6 +38,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.16.4.85.2.2  2008-06-11 15:27:34  glen
+- rpath with multiple components
+
 Revision 1.16.4.85.2.1  2008-06-11 14:52:04  glen
 - for rpath stripping testing
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/test.spec?r1=1.16.4.85.2.1&r2=1.16.4.85.2.2&f=u



More information about the pld-cvs-commit mailing list