summaryrefslogtreecommitdiff
blob: 78e4393d390d242f9bf7a3a3202f650fe6f5bab4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- a/configure.ac
+++ b/configure.ac
@@ -813,8 +813,11 @@
             ;;
         esac
         ;;
     esac
+
+    # do this at the end because it needs double dollar for makefile
+    WINE_TRY_CFLAGS([-Wl,-rpath,\\\$ORIGIN],[UNIXLDFLAGS="$UNIXLDFLAGS '-Wl,-rpath,\$\$ORIGIN'"])
     ;;
 esac
 
 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}