mirror of
https://github.com/coreutils/coreutils.git
synced 2024-11-28 04:24:45 +08:00
build: port to Solaris 10
* src/local.mk (src_ln_LDADD, src_mktemp_LDADD, src_tac_LDADD): Add $(LIB_CLOCK_GETTIME), since these use tempname which uses clock_gettime if getrandom fails. On platforms like Solaris 10, clock_gettime is not in the standard C library.
This commit is contained in:
parent
4c667a86d3
commit
5c8e2716b3
@ -250,12 +250,15 @@ src_stat_LDADD += $(LIB_SELINUX)
|
|||||||
# for nvlist_lookup_uint64_array
|
# for nvlist_lookup_uint64_array
|
||||||
src_stat_LDADD += $(LIB_NVPAIR)
|
src_stat_LDADD += $(LIB_NVPAIR)
|
||||||
|
|
||||||
# for gettime, settime, utimecmp, utimens
|
# for gettime, settime, tempname, utimecmp, utimens
|
||||||
copy_ldadd += $(LIB_CLOCK_GETTIME)
|
copy_ldadd += $(LIB_CLOCK_GETTIME)
|
||||||
src_date_LDADD += $(LIB_CLOCK_GETTIME)
|
src_date_LDADD += $(LIB_CLOCK_GETTIME)
|
||||||
src_ginstall_LDADD += $(LIB_CLOCK_GETTIME)
|
src_ginstall_LDADD += $(LIB_CLOCK_GETTIME)
|
||||||
|
src_ln_LDADD += $(LIB_CLOCK_GETTIME)
|
||||||
src_ls_LDADD += $(LIB_CLOCK_GETTIME)
|
src_ls_LDADD += $(LIB_CLOCK_GETTIME)
|
||||||
|
src_mktemp_LDADD += $(LIB_CLOCK_GETTIME)
|
||||||
src_pr_LDADD += $(LIB_CLOCK_GETTIME)
|
src_pr_LDADD += $(LIB_CLOCK_GETTIME)
|
||||||
|
src_tac_LDADD += $(LIB_CLOCK_GETTIME)
|
||||||
src_timeout_LDADD += $(LIB_TIMER_TIME)
|
src_timeout_LDADD += $(LIB_TIMER_TIME)
|
||||||
src_touch_LDADD += $(LIB_CLOCK_GETTIME)
|
src_touch_LDADD += $(LIB_CLOCK_GETTIME)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user