From 1cd6eb7baf34ee17b434c2626e4c19cf05af424e Mon Sep 17 00:00:00 2001 From: midipix Date: Sun, 23 Dec 2018 19:53:06 -0500 Subject: project: custom config: updated to keep up with Python-3.x. --- project/config/cfgdefs.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'project/config') 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' -- cgit v1.2.3