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

Commit

Permalink
[[ Bug 19901 ]] Statically link Linux server externals to libstc++.
Browse files Browse the repository at this point in the history
  • Loading branch information
livecodemichael committed Aug 9, 2017
1 parent 8b81e85 commit 9e44466
Show file tree
Hide file tree
Showing 3 changed files with 92 additions and 0 deletions.
67 changes: 67 additions & 0 deletions revdb/revdb.gyp
Expand Up @@ -187,6 +187,20 @@
'_releasedbconnectionref',
],
},
'conditions':
[
[
'OS == "linux"',
{
'libraries':
[
'-Wl,-Bstatic',
'-lstdc++',
'-Wl,-Bdynamic',
],
},
],
],

'all_dependent_settings':
{
Expand Down Expand Up @@ -317,6 +331,20 @@
'_releasedbconnectionref',
],
},
'conditions':
[
[
'OS == "linux"',
{
'libraries':
[
'-Wl,-Bstatic',
'-lstdc++',
'-Wl,-Bdynamic',
],
},
],
],

'all_dependent_settings':
{
Expand Down Expand Up @@ -411,6 +439,20 @@
'_releasedbconnectionref',
],
},
'conditions':
[
[
'OS == "linux"',
{
'libraries':
[
'-Wl,-Bstatic',
'-lstdc++',
'-Wl,-Bdynamic',
],
},
],
],

'all_dependent_settings':
{
Expand Down Expand Up @@ -606,6 +648,17 @@
},
},
],
[
'OS == "linux"',
{
'libraries':
[
'-Wl,-Bstatic',
'-lstdc++',
'-Wl,-Bdynamic',
],
},
],
],

'all_dependent_settings':
Expand Down Expand Up @@ -724,6 +777,20 @@
[
'src/iossupport.cpp',
],
'conditions':
[
[
'OS == "linux"',
{
'libraries':
[
'-Wl,-Bstatic',
'-lstdc++',
'-Wl,-Bdynamic',
],
},
],
],

'all_dependent_settings':
{
Expand Down
14 changes: 14 additions & 0 deletions revxml/revxml.gyp
Expand Up @@ -100,6 +100,20 @@
'INFOPLIST_FILE': 'rsrc/revxml-Info.plist',
'EXPORTED_SYMBOLS_FILE': 'revxml.exports',
},
'conditions':
[
[
'OS == "linux"',
{
'libraries':
[
'-Wl,-Bstatic',
'-lstdc++',
'-Wl,-Bdynamic',
],
},
],
],

'all_dependent_settings':
{
Expand Down
11 changes: 11 additions & 0 deletions revzip/revzip.gyp
Expand Up @@ -100,6 +100,17 @@
],
},
],
[
'OS == "linux"',
{
'libraries':
[
'-Wl,-Bstatic',
'-lstdc++',
'-Wl,-Bdynamic',
],
},
],
],

'all_dependent_settings':
Expand Down

0 comments on commit 9e44466

Please sign in to comment.