diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2018-07-28 13:20:44 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2018-07-28 13:20:44 +0000 |
commit | 7ce42356a663f5c70ce66f7a47447e13c01ba9ac (patch) | |
tree | 5ace38894de25ded59e5bb4e8f1e668a120eeec9 | |
parent | 274d990f4785b10a2704da3f2315e24249ad6c3a (diff) | |
download | execline-7ce42356a663f5c70ce66f7a47447e13c01ba9ac.tar.xz |
with pthread support for nsss
-rwxr-xr-x | configure | 2 | ||||
-rw-r--r-- | package/deps.mak | 2 | ||||
-rw-r--r-- | src/execline/deps-exe/homeof | 1 |
3 files changed, 4 insertions, 1 deletions
@@ -440,8 +440,10 @@ else fi if $usensss ; then echo "LIBNSSS := -lnsss" + echo "MAYBEPTHREAD_LIB := -lpthread" else echo "LIBNSSS :=" + echo "MAYBEPTHREAD_LIB :=" fi exec 1>&3 3>&- diff --git a/package/deps.mak b/package/deps.mak index de60a33..db14ec6 100644 --- a/package/deps.mak +++ b/package/deps.mak @@ -121,7 +121,7 @@ getpid: EXTRA_LIBS := getpid: src/execline/getpid.o -lskarnet heredoc: EXTRA_LIBS := heredoc: src/execline/heredoc.o -lskarnet -homeof: EXTRA_LIBS := +homeof: EXTRA_LIBS := ${MAYBEPTHREAD_LIB} homeof: src/execline/homeof.o ${LIBNSSS} -lskarnet if: EXTRA_LIBS := ${SPAWN_LIB} if: src/execline/if.o ${LIBEXECLINE} -lskarnet diff --git a/src/execline/deps-exe/homeof b/src/execline/deps-exe/homeof index bbe01a8..ee4ed0b 100644 --- a/src/execline/deps-exe/homeof +++ b/src/execline/deps-exe/homeof @@ -1,2 +1,3 @@ ${LIBNSSS} -lskarnet +${MAYBEPTHREAD_LIB} |