python-sip4/disable-strip.diff

31 lines
1.4 KiB
Diff

commit c59ca3fa7a63c7c13fb6be2d9642feeeaef603e2
Author: Christophe Giboudeaux <christophe@krop.fr>
Date: Sun Oct 21 11:29:04 2018 +0200
Don't strip files.
This prevents the debug package from being created.
Index: sip-4.19.24/siputils.py
===================================================================
--- sip-4.19.24.orig/siputils.py
+++ sip-4.19.24/siputils.py
@@ -1474,7 +1474,7 @@ class ModuleMakefile(Makefile):
"""
def __init__(self, configuration, build_file, install_dir=None, static=0,
console=0, qt=0, opengl=0, threaded=0, warnings=1, debug=0,
- dir=None, makefile="Makefile", installs=None, strip=1,
+ dir=None, makefile="Makefile", installs=None, strip=0,
export_all=0, universal=None, arch=None,
deployment_target=None):
"""Initialise an instance of a module Makefile.
@@ -1785,7 +1785,7 @@ class SIPModuleMakefile(ModuleMakefile):
"""
def __init__(self, configuration, build_file, install_dir=None, static=0,
console=0, qt=0, opengl=0, threaded=0, warnings=1, debug=0,
- dir=None, makefile="Makefile", installs=None, strip=1,
+ dir=None, makefile="Makefile", installs=None, strip=0,
export_all=0, universal=None, arch=None, prot_is_public=0,
deployment_target=None):
"""Initialise an instance of a SIP generated module Makefile.