mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-03 21:25:35 +00:00
fix solaris build
Before this patch the build failure looked like: ... ../../deps/zlib/inftrees.c:330: warning: visibility attribute not supported in this configuration; ignored ... ld: fatal: relocation error: R_386_GOTOFF: file deps/zlib/deflate.c.0.o: symbol zcfree: a GOT relative relocation must reference a local symbol ...
This commit is contained in:
parent
fee4c42550
commit
34a2992665
3
wscript
3
wscript
@ -65,6 +65,9 @@ def configure(conf):
|
|||||||
else:
|
else:
|
||||||
conf.env.PLATFORM = 'unix'
|
conf.env.PLATFORM = 'unix'
|
||||||
|
|
||||||
|
if conf.env.DEST_OS == 'sunos':
|
||||||
|
conf.env.DEFINES += ['NO_VIZ']
|
||||||
|
|
||||||
if conf.options.threadsafe:
|
if conf.options.threadsafe:
|
||||||
if conf.env.PLATFORM == 'unix':
|
if conf.env.PLATFORM == 'unix':
|
||||||
conf.check_cc(lib='pthread', uselib_store='pthread')
|
conf.check_cc(lib='pthread', uselib_store='pthread')
|
||||||
|
Loading…
Reference in New Issue
Block a user