Signed-off-by: Kentaro Hayashi <kenhys@gmail.com>
Gbp-Pq: Name 0002-remove-debug-symbols-from-wheel-package.patch
# See: https://github.com/neulab/xnmt/issues/199
if sys.platform == 'darwin':
cflags.append('-mmacosx-version-min=10.9')
+ else:
+ cflags.append('-Wl,-strip-all')
+ libs.append('-Wl,-strip-all')
print('## cflags={}'.format(' '.join(cflags)))
print('## libs={}'.format(' '.join(libs)))
ext.extra_compile_args = cflags