summaryrefslogtreecommitdiff
path: root/patches/OOO_1_1/rpath-origin-stlport.diff
blob: 1126bc9b2dcf7093bde4a13cf1acdbcab9e02ce5 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- stlport/STLport-4.5.patch
+++ stlport/STLport-4.5.patch
@@ -169,7 +169,7 @@
 ! #
 ! #
 ! LINK=ar cr
-! DYN_LINK=$(CXX) --fexceptions -shared -o
+! DYN_LINK=$(CXX) -Wl,-rpath,\''$$ORIGIN'\' --fexceptions -shared -o
 ! 
 ! OBJEXT=o
 ! DYNEXT=so