summaryrefslogtreecommitdiff
path: root/project/config/cfgdefs.sh
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-12-23 19:53:06 -0500
committermidipix <writeonce@midipix.org>2018-12-23 20:31:23 -0500
commitf623e255ebeed07b2907e1b6866b342d6f0f57b0 (patch)
tree1adf30c7f8c32e8d68278917ecdb1e6caa3c203e /project/config/cfgdefs.sh
parentfeb6bdda2186ec0b0d1134b2da13732f35705557 (diff)
downloadsbpython3-f623e255ebeed07b2907e1b6866b342d6f0f57b0.tar.bz2
sbpython3-f623e255ebeed07b2907e1b6866b342d6f0f57b0.tar.xz
project: added initial support of the 3.7.1 variant.
Diffstat (limited to 'project/config/cfgdefs.sh')
-rw-r--r--project/config/cfgdefs.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/project/config/cfgdefs.sh b/project/config/cfgdefs.sh
index 74dcee1..e976ee6 100644
--- a/project/config/cfgdefs.sh
+++ b/project/config/cfgdefs.sh
@@ -90,6 +90,8 @@ cfgdefs_perform_common_tests()
cfgtest_header_presence 'sys/sysmacros.h'
cfgtest_header_presence 'sys/uio.h'
cfgtest_header_presence 'sys/xattr.h'
+ cfgtest_header_presence 'uuid.h'
+ cfgtest_header_presence 'uuid/uuid.h'
# interfaces
mb_cfgtest_headers='sys/epoll.h'
@@ -205,6 +207,14 @@ cfgdefs_perform_common_tests()
cfgtest_ldflags_append '-Wl,--as-needed -lintl -Wl,--no-as-needed'
fi
+ # libuuid
+ cfgtest_newline
+ cfgtest_comment 'libuuid'
+
+ if cfgtest_library_presence -luuid; then
+ cfgtest_ldflags_append '-Wl,--as-needed -luuid -Wl,--no-as-needed'
+ fi
+
# ncurses
cfgtest_newline
cfgtest_comment 'ncurses/ncursesw'
@@ -356,6 +366,7 @@ cfgdefs_perform_target_tests()
mb_cfgtest_makevar='LDFLAGS_PYEXT_STATIC'
cfgtest_makevar_append '-Wl,--as-needed -lssl -lcrypto -Wl,--no-as-needed'
+ cfgtest_makevar_append '-Wl,--as-needed -luuid -Wl,--no-as-needed'
cfgtest_makevar_append '-Wl,--as-needed -lbz2 -Wl,--no-as-needed'
cfgtest_makevar_append '-Wl,--as-needed -lffi -Wl,--no-as-needed'
cfgtest_makevar_append '-Wl,--as-needed -lgdbm -Wl,--no-as-needed'