From 16ffff4aec977b784afe5dc2f905cf57a031f9d4 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Wed, 22 Nov 2017 11:14:20 +0900 Subject: [PATCH] Fix passing rpath to gcc --- electron.gyp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electron.gyp b/electron.gyp index 817b49b971ab..e3bf588e79ca 100644 --- a/electron.gyp +++ b/electron.gyp @@ -350,7 +350,7 @@ # Make binary search for libraries under current directory, so we # don't have to manually set $LD_LIBRARY_PATH: # http://serverfault.com/questions/279068/cant-find-so-in-the-same-directory-as-the-executable - '-rpath \$$ORIGIN', + '-Wl,-rpath=\$$ORIGIN', # Make native module dynamic loading work. '-rdynamic', ],