eb3cff4f6f
from viq
24 lines
1.2 KiB
Plaintext
24 lines
1.2 KiB
Plaintext
$OpenBSD: patch-setup_extensions_py,v 1.2 2011/09/05 12:38:36 jasper Exp $
|
|
--- setup/extensions.py.orig Fri Jun 24 20:01:27 2011
|
|
+++ setup/extensions.py Tue Jun 28 23:45:46 2011
|
|
@@ -111,8 +111,8 @@ extensions = [
|
|
reflow_sources,
|
|
headers=reflow_headers,
|
|
libraries=poppler_libs+magick_libs+png_libs+ft_libs+jpg_libs+pdfreflow_libs,
|
|
- lib_dirs=poppler_lib_dirs+magick_lib_dirs+png_lib_dirs+ft_lib_dirs+jpg_lib_dirs,
|
|
- inc_dirs=poppler_inc_dirs+magick_inc_dirs+png_inc_dirs,
|
|
+ lib_dirs=poppler_lib_dirs+magick_lib_dirs+png_lib_dirs+ft_lib_dirs+jpg_lib_dirs+[fc_lib],
|
|
+ inc_dirs=poppler_inc_dirs+magick_inc_dirs+png_inc_dirs+[fc_inc],
|
|
error=reflow_error,
|
|
cflags=['-DPNG_SKIP_SETJMP_CHECK'] if islinux else []
|
|
),
|
|
@@ -191,7 +191,7 @@ if isunix:
|
|
cc = os.environ.get('CC', 'gcc')
|
|
cxx = os.environ.get('CXX', 'g++')
|
|
cflags = os.environ.get('OVERRIDE_CFLAGS',
|
|
- '-O3 -Wall -DNDEBUG -fno-strict-aliasing -pipe')
|
|
+ '-Wall -DNDEBUG -fno-strict-aliasing -pipe')
|
|
cflags = shlex.split(cflags) + ['-fPIC']
|
|
ldflags = os.environ.get('OVERRIDE_LDFLAGS', '-Wall')
|
|
ldflags = shlex.split(ldflags)
|