Skip to content

Commit 4a2cb5f

Browse files
Try and fix cppflags/cflags (CQ-1519)
1 parent 89da381 commit 4a2cb5f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

build_conquest_python.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -219,9 +219,9 @@ def arguments_to_configuration_script(self):
219219
'--enable-shared',
220220
# '--enable-threads',
221221
'--enable-64bit',
222-
f"LDFLAGS={ConquestPythonPackage().python_base_directory / 'lib'}",
223-
f"CFLAGS={ConquestPythonPackage().python_base_directory / 'include'}",
224-
f"CPPFLAGS={ConquestPythonPackage().python_base_directory / 'include'}",
222+
f"LDFLAGS={ConquestPythonPackage().python_base_directory / 'lib'} $LDFLAGS",
223+
f"CFLAGS={ConquestPythonPackage().python_base_directory / 'include'} $CFLAGS",
224+
f"CPPFLAGS={ConquestPythonPackage().python_base_directory / 'include'} $CPPFLAGS",
225225
]
226226
if self.macos:
227227
args.extend([

0 commit comments

Comments
 (0)