From 84f4cdf481cec9be61f4fb2acb99642ae9b66bcc Mon Sep 17 00:00:00 2001 From: midipix Date: Wed, 19 Dec 2018 20:50:13 -0500 Subject: project: custom config: handle all (n)dbm-related bits at config-time. --- project/pyexts.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'project/pyexts.c') diff --git a/project/pyexts.c b/project/pyexts.c index 3a6197e..3456b4e 100644 --- a/project/pyexts.c +++ b/project/pyexts.c @@ -144,7 +144,9 @@ static const struct pyext_meta pyexts[] = { "_decimal/libmpdec/sixstep", "_decimal/libmpdec/transpose"), - PYEXT_COMMON("_dbm",0,"-lgdbm_compat", + PYEXT_COMMON("_dbm", + "$(CFLAGS_DBM)", + "$(LDFLAGS_DBM)", "_dbmmodule"), PYEXT_COMMON("_gdbm",0,"-lgdbm", -- cgit v1.2.3