Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit 9e44466

Browse files
[[ Bug 19901 ]] Statically link Linux server externals to libstc++.
1 parent 8b81e85 commit 9e44466

File tree

3 files changed

+92
-0
lines changed

3 files changed

+92
-0
lines changed

revdb/revdb.gyp

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,20 @@
187187
'_releasedbconnectionref',
188188
],
189189
},
190+
'conditions':
191+
[
192+
[
193+
'OS == "linux"',
194+
{
195+
'libraries':
196+
[
197+
'-Wl,-Bstatic',
198+
'-lstdc++',
199+
'-Wl,-Bdynamic',
200+
],
201+
},
202+
],
203+
],
190204

191205
'all_dependent_settings':
192206
{
@@ -317,6 +331,20 @@
317331
'_releasedbconnectionref',
318332
],
319333
},
334+
'conditions':
335+
[
336+
[
337+
'OS == "linux"',
338+
{
339+
'libraries':
340+
[
341+
'-Wl,-Bstatic',
342+
'-lstdc++',
343+
'-Wl,-Bdynamic',
344+
],
345+
},
346+
],
347+
],
320348

321349
'all_dependent_settings':
322350
{
@@ -411,6 +439,20 @@
411439
'_releasedbconnectionref',
412440
],
413441
},
442+
'conditions':
443+
[
444+
[
445+
'OS == "linux"',
446+
{
447+
'libraries':
448+
[
449+
'-Wl,-Bstatic',
450+
'-lstdc++',
451+
'-Wl,-Bdynamic',
452+
],
453+
},
454+
],
455+
],
414456

415457
'all_dependent_settings':
416458
{
@@ -606,6 +648,17 @@
606648
},
607649
},
608650
],
651+
[
652+
'OS == "linux"',
653+
{
654+
'libraries':
655+
[
656+
'-Wl,-Bstatic',
657+
'-lstdc++',
658+
'-Wl,-Bdynamic',
659+
],
660+
},
661+
],
609662
],
610663

611664
'all_dependent_settings':
@@ -724,6 +777,20 @@
724777
[
725778
'src/iossupport.cpp',
726779
],
780+
'conditions':
781+
[
782+
[
783+
'OS == "linux"',
784+
{
785+
'libraries':
786+
[
787+
'-Wl,-Bstatic',
788+
'-lstdc++',
789+
'-Wl,-Bdynamic',
790+
],
791+
},
792+
],
793+
],
727794

728795
'all_dependent_settings':
729796
{

revxml/revxml.gyp

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,20 @@
100100
'INFOPLIST_FILE': 'rsrc/revxml-Info.plist',
101101
'EXPORTED_SYMBOLS_FILE': 'revxml.exports',
102102
},
103+
'conditions':
104+
[
105+
[
106+
'OS == "linux"',
107+
{
108+
'libraries':
109+
[
110+
'-Wl,-Bstatic',
111+
'-lstdc++',
112+
'-Wl,-Bdynamic',
113+
],
114+
},
115+
],
116+
],
103117

104118
'all_dependent_settings':
105119
{

revzip/revzip.gyp

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,17 @@
100100
],
101101
},
102102
],
103+
[
104+
'OS == "linux"',
105+
{
106+
'libraries':
107+
[
108+
'-Wl,-Bstatic',
109+
'-lstdc++',
110+
'-Wl,-Bdynamic',
111+
],
112+
},
113+
],
103114
],
104115

105116
'all_dependent_settings':

0 commit comments

Comments
 (0)