~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to setup.py

(mbp) use zdll in win32 builds

Show diffs side-by-side

added added

removed removed

Lines of Context:
264
264
                    extra_source=['bzrlib/diff-delta.c'])
265
265
add_pyrex_extension('bzrlib._chunks_to_lines_pyx')
266
266
add_pyrex_extension('bzrlib._knit_load_data_c')
267
 
add_pyrex_extension('bzrlib._chk_map_pyx', libraries=['z'])
268
267
if sys.platform == 'win32':
269
268
    add_pyrex_extension('bzrlib._dirstate_helpers_c',
270
269
                        libraries=['Ws2_32'])
271
270
    add_pyrex_extension('bzrlib._walkdirs_win32')
 
271
    z_lib = 'zdll'
272
272
else:
273
273
    if have_pyrex and pyrex_version == '0.9.4.1':
274
274
        # Pyrex 0.9.4.1 fails to compile this extension correctly
283
283
    else:
284
284
        add_pyrex_extension('bzrlib._dirstate_helpers_c')
285
285
    add_pyrex_extension('bzrlib._readdir_pyx')
 
286
    z_lib = 'z'
 
287
add_pyrex_extension('bzrlib._chk_map_pyx', libraries=[z_lib])
286
288
ext_modules.append(Extension('bzrlib._patiencediff_c', ['bzrlib/_patiencediff_c.c']))
287
289
 
288
290