summaryrefslogtreecommitdiff
path: root/project/pyexts.c
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-12-19 20:50:13 -0500
committermidipix <writeonce@midipix.org>2018-12-19 22:12:13 -0500
commit84f4cdf481cec9be61f4fb2acb99642ae9b66bcc (patch)
tree7a1ff2ae76869cb39119141cab8f96cde8414424 /project/pyexts.c
parent6a10b33804f8aa52efeff7bf46174a4dfcd97b51 (diff)
downloadsbpython3-84f4cdf481cec9be61f4fb2acb99642ae9b66bcc.tar.bz2
sbpython3-84f4cdf481cec9be61f4fb2acb99642ae9b66bcc.tar.xz
project: custom config: handle all (n)dbm-related bits at config-time.
Diffstat (limited to 'project/pyexts.c')
-rw-r--r--project/pyexts.c4
1 files changed, 3 insertions, 1 deletions
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",