1. Jakub Wilk
  2. python-djvulibre

Commits

Jakub Wilk  committed ee30fa7

Run pkg-config only once.

  • Participants
  • Parent commits 017c919
  • Branches default

Comments (0)

Files changed (1)

File setup.py

View file
  • Ignore whitespace
 else:
     build_sphinx = None
 
+compiler_flags = pkg_config('ddjvuapi')
+
 setup_params = dict(
     name = 'python-djvulibre',
     version = __version__,
         distutils.command.build_ext.Extension(
             'djvu.%s' % name, ['djvu/%s.pyx' % name],
             depends = ['djvu/common.pxi'] + glob.glob('djvu/*.pxd'),
-            **pkg_config('ddjvuapi')
+            **compiler_flags
         )
         for name in ext_modules
     ],