Skip to content

Commit

Permalink
Don't export (all) symbols from included static lib on Linux.
Browse files Browse the repository at this point in the history
  • Loading branch information
psychonic committed Jan 9, 2016
1 parent b543cae commit 1e71bd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AMBuildScript
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ class SMConfig(object):

dynamic_libs = []
if builder.target_platform == 'linux':
compiler.linkflags[0:0] = ['-lm']
compiler.linkflags[0:0] = ['-Wl,--exclude-libs,ALL', '-lm']
if sdk.name in ['css', 'hl2dm', 'dods', 'tf2', 'sdk2013', 'nucleardawn', 'l4d2', 'insurgency']:
dynamic_libs = ['libtier0_srv.so', 'libvstdlib_srv.so']
elif sdk.name in ['l4d', 'blade', 'insurgency', 'csgo', 'dota']:
Expand Down

0 comments on commit 1e71bd1

Please sign in to comment.