summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-12-19 21:35:03 -0500
committermidipix <writeonce@midipix.org>2018-12-19 21:37:53 -0500
commit55216b61d8761d9c8a63f4e014a7a547a40e8f34 (patch)
tree4c75e2ce3afd36d34ec8c3d39b6958e7d394f5e0
parentb4d786bd9d606bd2910c9d22853bccc03b051167 (diff)
downloadsbpython2-55216b61d8761d9c8a63f4e014a7a547a40e8f34.tar.bz2
sbpython2-55216b61d8761d9c8a63f4e014a7a547a40e8f34.tar.xz
project: custom config: handle all tcl/tk-related bits at config-time.
-rw-r--r--project/config/cfgdefs.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/project/config/cfgdefs.sh b/project/config/cfgdefs.sh
index 2db66e4..1d3014c 100644
--- a/project/config/cfgdefs.sh
+++ b/project/config/cfgdefs.sh
@@ -212,6 +212,12 @@ cfgdefs_perform_target_tests()
mb_cfgtest_makevar='LDFLAGS_TCLTK_LIBS'
cfgtest_makevar_append "$mb_tcltk_libs"
+ mb_cfgtest_makevar='CFLAGS_TCLTK'
+ cfgtest_makevar_append '-DWITH_APPINIT'
+
+ mb_cfgtest_makevar='LDFLAGS_TCLTK'
+ cfgtest_makevar_append '$(LDFLAGS_TCLTK_LIBS)'
+
# sqlite
cfgtest_newline
cfgtest_comment 'sqlite3'