~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: Martin Pool
  • Date: 2009-06-11 00:47:41 UTC
  • mfrom: (4360.9.1 1.15)
  • mto: This revision was merged to the branch mainline in revision 4430.
  • Revision ID: mbp@sourcefrog.net-20090611004741-wiiizagsbzhix234
Merge zdll fix from 1.15 branch

Show diffs side-by-side

added added

removed removed

Lines of Context:
261
261
 
262
262
add_pyrex_extension('bzrlib._bencode_pyx')
263
263
add_pyrex_extension('bzrlib._btree_serializer_c')
264
 
add_pyrex_extension('bzrlib._chk_map_pyx', libraries=['z'])
265
264
add_pyrex_extension('bzrlib._chunks_to_lines_pyx')
266
265
add_pyrex_extension('bzrlib._groupcompress_pyx',
267
266
                    extra_source=['bzrlib/diff-delta.c'])
271
270
    add_pyrex_extension('bzrlib._dirstate_helpers_c',
272
271
                        libraries=['Ws2_32'])
273
272
    add_pyrex_extension('bzrlib._walkdirs_win32')
 
273
    z_lib = 'zdll'
274
274
else:
275
275
    if have_pyrex and pyrex_version == '0.9.4.1':
276
276
        # Pyrex 0.9.4.1 fails to compile this extension correctly
285
285
    else:
286
286
        add_pyrex_extension('bzrlib._dirstate_helpers_c')
287
287
    add_pyrex_extension('bzrlib._readdir_pyx')
 
288
    z_lib = 'z'
 
289
add_pyrex_extension('bzrlib._chk_map_pyx', libraries=[z_lib])
288
290
ext_modules.append(Extension('bzrlib._patiencediff_c', ['bzrlib/_patiencediff_c.c']))
289
291
 
290
292