diff options
| author | Trent Mick <trentm@gmail.com> | 2011-04-20 22:25:30 -0700 |
|---|---|---|
| committer | Trent Mick <trentm@gmail.com> | 2011-04-20 22:25:30 -0700 |
| commit | 34a29926651160568e95c864514b7fc7ccf0546c (patch) | |
| tree | 457cde48e26ee95bfefa6f22ebdcc54f22d04ca1 /wscript | |
| parent | fee4c4255004c1f142e39d6884a4804eb38e3183 (diff) | |
| download | libgit2-34a29926651160568e95c864514b7fc7ccf0546c.tar.gz | |
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
...
Diffstat (limited to 'wscript')
| -rw-r--r-- | wscript | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -65,6 +65,9 @@ def configure(conf): else: conf.env.PLATFORM = 'unix' + if conf.env.DEST_OS == 'sunos': + conf.env.DEFINES += ['NO_VIZ'] + if conf.options.threadsafe: if conf.env.PLATFORM == 'unix': conf.check_cc(lib='pthread', uselib_store='pthread') |
