mirror of
https://github.com/samba-team/samba.git
synced 2025-08-03 04:22:09 +03:00
Some more tweaking for compilation of py_tdbpack.
This commit is contained in:
@ -28,7 +28,7 @@
|
|||||||
/* This module is supposed to be standalone, however for portability
|
/* This module is supposed to be standalone, however for portability
|
||||||
it would be good to use the FUNCTION_MACRO preprocessor define. */
|
it would be good to use the FUNCTION_MACRO preprocessor define. */
|
||||||
|
|
||||||
#include "config.h"
|
#include "include/config.h"
|
||||||
|
|
||||||
#ifdef HAVE_FUNCTION_MACRO
|
#ifdef HAVE_FUNCTION_MACRO
|
||||||
#define FUNCTION_MACRO (__FUNCTION__)
|
#define FUNCTION_MACRO (__FUNCTION__)
|
||||||
|
@ -180,6 +180,6 @@ setup(
|
|||||||
# code, although it implements a compatible data format.
|
# code, although it implements a compatible data format.
|
||||||
Extension(name = "tdbpack",
|
Extension(name = "tdbpack",
|
||||||
sources = [os.path.join(samba_srcdir, "python", "py_tdbpack.c")],
|
sources = [os.path.join(samba_srcdir, "python", "py_tdbpack.c")],
|
||||||
extra_compile_args = ["-I include"])
|
extra_compile_args = ["-I."])
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user