Skip to content

Commit fb07768

Browse files
authored
Merge pull request #250 from skirpichev/separate-libzz/226
Separate libzz
2 parents 0bab05c + eff537b commit fb07768

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

zz.c renamed to libzz/zz.c

File renamed without changes.

zz.h renamed to libzz/zz.h

File renamed without changes.

meson.build

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ project('gmp', 'c',
44
py = import('python').find_installation(pure: false)
55
libgmp = dependency('gmp', version: '>= 6.3.0')
66
if build_machine.system() != 'windows'
7-
libzz = shared_library('zz', 'zz.c', install: true,
7+
libzz = shared_library('zz', 'libzz/zz.c', install: true,
88
dependencies: libgmp,
99
install_dir: py.get_install_dir())
1010
py.extension_module('gmp', ['fmt.c', 'gmp.c', 'utils.c'],
1111
install: true, link_with: libzz,
1212
install_rpath: '$ORIGIN')
1313
else
14-
libzz = static_library('zz', 'zz.c', install: false,
14+
libzz = static_library('zz', 'libzz/zz.c', install: false,
1515
dependencies: libgmp)
1616
py.extension_module('gmp', ['fmt.c', 'gmp.c', 'utils.c'],
1717
install: true, link_with: libzz)

mpz.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
# pragma GCC diagnostic pop
3232
#endif
3333

34-
#include "zz.h"
34+
#include "libzz/zz.h"
3535

3636
typedef struct {
3737
PyObject_HEAD

0 commit comments

Comments
 (0)