diff options
author | Jonas Heinrich | 2017-11-28 22:19:37 +0100 |
---|---|---|
committer | Jonas Heinrich | 2017-11-28 22:19:37 +0100 |
commit | be249aa85007b8d48a4eab7dfe38e2404f70034c (patch) | |
tree | 56dc099158b510b348ec5f734434eea8a2f74f90 /brightray-no-whole-archive.patch | |
download | aur-be249aa85007b8d48a4eab7dfe38e2404f70034c.tar.gz |
first commit
Diffstat (limited to 'brightray-no-whole-archive.patch')
-rw-r--r-- | brightray-no-whole-archive.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/brightray-no-whole-archive.patch b/brightray-no-whole-archive.patch new file mode 100644 index 000000000000..ce4438269266 --- /dev/null +++ b/brightray-no-whole-archive.patch @@ -0,0 +1,22 @@ +--- a/brightray.gyp ++++ b/brightray.gyp +@@ -41,14 +41,13 @@ + 'conditions': [ + # Link with libraries of libchromiumcontent. + ['OS=="linux" and libchromiumcontent_component==0', { +- # On Linux we have to use "--whole-archive" to force executable +- # to include all symbols, otherwise we will have plenty of ++ # On Linux we have to use "--start-group" or we will have plenty of + # unresolved symbols errors. +- 'direct_dependent_settings': { +- 'ldflags': [ +- '-Wl,--whole-archive', ++ 'link_settings': { ++ 'libraries': [ ++ '-Wl,--start-group', + '<@(libchromiumcontent_libraries)', +- '-Wl,--no-whole-archive', ++ '-Wl,--end-group' + ], + } + }, { # (Release build on Linux) |