Fix build
This commit is contained in:
parent
5a931058dd
commit
fe4edf2016
2 changed files with 4 additions and 1 deletions
2
.github/workflows/pythonpackage.yml
vendored
2
.github/workflows/pythonpackage.yml
vendored
|
|
@ -198,7 +198,7 @@ jobs:
|
||||||
CIBW_BUILD: ${{ matrix.cibw_build }}
|
CIBW_BUILD: ${{ matrix.cibw_build }}
|
||||||
CIBW_ARCHS: ${{ matrix.cibw_archs }}
|
CIBW_ARCHS: ${{ matrix.cibw_archs }}
|
||||||
CIBW_ENVIRONMENT: SQLCIPHER3_COMPILE_TARGET=${{ matrix.compile_target }}
|
CIBW_ENVIRONMENT: SQLCIPHER3_COMPILE_TARGET=${{ matrix.compile_target }}
|
||||||
CIBW_BEFORE_ALL_LINUX: yum install -y perl-core
|
CIBW_BEFORE_ALL_LINUX: dnf -y install perl-core
|
||||||
CIBW_TEST_COMMAND: >
|
CIBW_TEST_COMMAND: >
|
||||||
mv {project}/sqlcipher3 {project}/sqlcipher3_ &&
|
mv {project}/sqlcipher3 {project}/sqlcipher3_ &&
|
||||||
python {project}/tests/ &&
|
python {project}/tests/ &&
|
||||||
|
|
|
||||||
3
setup.py
3
setup.py
|
|
@ -143,6 +143,9 @@ if __name__ == "__main__":
|
||||||
("inline", "__inline"),
|
("inline", "__inline"),
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if platform.system() == "Linux":
|
||||||
|
define_macros.append(("HAVE_STDINT_H", "1"))
|
||||||
|
|
||||||
# Configure the compiler
|
# Configure the compiler
|
||||||
arch = get_arch()
|
arch = get_arch()
|
||||||
if arch == "universal2":
|
if arch == "universal2":
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue