mirror of
https://github.com/termux/termux-packages.git
synced 2024-12-12 14:13:36 +00:00
986babfda7
Commit af18f1dac0b5 ("scripts: start_build: create libpthread and librt as well") added helper libs so that packages that try to find these libs can do so. %ci:no-build
58 lines
1.8 KiB
Diff
58 lines
1.8 KiB
Diff
diff -uNr fossil-2.11/auto.def fossil-2.11.mod/auto.def
|
|
--- fossil-2.11/auto.def 2020-05-26 02:23:49.000000000 +0300
|
|
+++ fossil-2.11.mod/auto.def 2020-05-26 16:29:51.235602973 +0300
|
|
@@ -139,14 +139,12 @@
|
|
# not stmt_isexplain(), then the system SQLite is too old to link against
|
|
# fossil.
|
|
#
|
|
- if {[check-function-in-lib sqlite3_open sqlite3 $extralibs]} {
|
|
- # Success. Update symbols and return.
|
|
- #
|
|
- define USE_SYSTEM_SQLITE 1
|
|
- define-append LIBS -lsqlite3
|
|
- define-append LIBS $extralibs
|
|
- return
|
|
- }
|
|
+ # Update symbols and return.
|
|
+ #
|
|
+ define USE_SYSTEM_SQLITE 1
|
|
+ define-append LIBS -lsqlite3
|
|
+ define-append LIBS $extralibs
|
|
+ return
|
|
}
|
|
user-error "system sqlite3 not found"
|
|
}
|
|
@@ -183,7 +181,7 @@
|
|
}
|
|
file delete ./conftest__
|
|
}
|
|
- test_system_sqlite
|
|
+ #test_system_sqlite
|
|
|
|
}
|
|
|
|
@@ -479,23 +445,6 @@
|
|
cc-with [list -cflags $cflags -libs $libs] {
|
|
if {$tclstubs} {
|
|
if {[cc-check-functions Tcl_InitStubs]} {
|
|
- set foundtcl 1
|
|
- }
|
|
- } else {
|
|
- if {[cc-check-functions Tcl_CreateInterp]} {
|
|
- set foundtcl 1
|
|
- }
|
|
- }
|
|
- }
|
|
- }
|
|
- if {!$foundtcl && ![string match *-lpthread* $libs]} {
|
|
- # On some systems, TCL_LIB_SPEC appears to be missing
|
|
- # "-lpthread". Try adding it.
|
|
- msg-result "Adding \"-lpthread\" and retrying for Tcl..."
|
|
- set libs "$libs -lpthread"
|
|
- cc-with [list -cflags $cflags -libs $libs] {
|
|
- if {$tclstubs} {
|
|
- if {[cc-check-functions Tcl_InitStubs]} {
|
|
set foundtcl 1
|
|
}
|
|
} else {
|