aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-05-13 23:06:02 +0300
committerarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-05-13 23:06:02 +0300
commit6f299e47927ff5aa5f2a25c4da4d9fbf78f6510a (patch)
tree193b3d32bf4f2ce0e5a7352e6f196260baf55e8e
parentce4efeb0bb236091ad1a1a50a187cccce79f2b09 (diff)
downloadydb-6f299e47927ff5aa5f2a25c4da4d9fbf78f6510a.tar.gz
intermediate changes
ref:1b69503928e76a703291e320d5bb4f972dcf19e2
-rw-r--r--build/plugins/swig.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/build/plugins/swig.py b/build/plugins/swig.py
index 32a37204a6..8c85ea213e 100644
--- a/build/plugins/swig.py
+++ b/build/plugins/swig.py
@@ -27,14 +27,11 @@ class Swig(iw.CustomCommand):
self._swig_lang = unit.get('SWIG_LANG')
if self._swig_lang != 'jni_java':
+ self._flags += ['-c++']
self._main_out = os.path.join(
self._bindir,
'' if relpath == '.' else relpath.replace('..', '__'),
- self._input_name + '_wrap.swg.c')
-
- if not path.endswith('.c.swg'):
- self._flags += ['-c++']
- self._main_out += 'pp'
+ self._input_name + '_wrap.swg.cpp')
# lang_specific_incl_dir = 'perl5' if self._swig_lang == 'perl' else self._swig_lang
lang_specific_incl_dir = self._swig_lang