Merge pull request #469 from alliedmodders/static-lib-sym-vis
Don't export (all) symbols from included static lib on Linux/Mac.
This commit is contained in:
commit
441bb0483a
@ -216,7 +216,7 @@ class SMConfig(object):
|
|||||||
'-Wno-overloaded-virtual',
|
'-Wno-overloaded-virtual',
|
||||||
'-fvisibility-inlines-hidden',
|
'-fvisibility-inlines-hidden',
|
||||||
]
|
]
|
||||||
cxx.linkflags += ['-m32']
|
cxx.linkflags += ['-m32', '-Wl,--exclude-libs,ALL']
|
||||||
|
|
||||||
have_gcc = cxx.vendor == 'gcc'
|
have_gcc = cxx.vendor == 'gcc'
|
||||||
have_clang = cxx.vendor == 'clang'
|
have_clang = cxx.vendor == 'clang'
|
||||||
|
Loading…
Reference in New Issue
Block a user