about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2021-09-19 09:00:45 +0000
committerLaurent Bercot <ska@appnovation.com>2021-09-19 09:00:45 +0000
commite251e28b6c71e4a1ff1126fc9e638e44b476b1a2 (patch)
tree349249ff39a30b445f741b0fbc0ee907a0f89ac2
parente91e31ff45eb3700024a4e16435ff4f177072804 (diff)
downloadsmtpd-starttls-proxy-e251e28b6c71e4a1ff1126fc9e638e44b476b1a2.tar.gz
smtpd-starttls-proxy-e251e28b6c71e4a1ff1126fc9e638e44b476b1a2.tar.xz
smtpd-starttls-proxy-e251e28b6c71e4a1ff1126fc9e638e44b476b1a2.zip
Fix portability
Signed-off-by: Laurent Bercot <ska@appnovation.com>
-rw-r--r--package/deps.mak2
-rw-r--r--src/smtpd-starttls-proxy/deps-exe/smtpd-starttls-proxy-io2
2 files changed, 3 insertions, 1 deletions
diff --git a/package/deps.mak b/package/deps.mak
index e6791f9..69bbcdc 100644
--- a/package/deps.mak
+++ b/package/deps.mak
@@ -4,5 +4,5 @@
 
 src/smtpd-starttls-proxy/smtpd-starttls-proxy-io.o src/smtpd-starttls-proxy/smtpd-starttls-proxy-io.lo: src/smtpd-starttls-proxy/smtpd-starttls-proxy-io.c
 
-smtpd-starttls-proxy-io: EXTRA_LIBS := -lskarnet
+smtpd-starttls-proxy-io: EXTRA_LIBS := -lskarnet ${SOCKET_LIB} ${SYSCLOCK_LIB}
 smtpd-starttls-proxy-io: src/smtpd-starttls-proxy/smtpd-starttls-proxy-io.o
diff --git a/src/smtpd-starttls-proxy/deps-exe/smtpd-starttls-proxy-io b/src/smtpd-starttls-proxy/deps-exe/smtpd-starttls-proxy-io
index e7187fe..720fe7d 100644
--- a/src/smtpd-starttls-proxy/deps-exe/smtpd-starttls-proxy-io
+++ b/src/smtpd-starttls-proxy/deps-exe/smtpd-starttls-proxy-io
@@ -1 +1,3 @@
 -lskarnet
+${SOCKET_LIB}
+${SYSCLOCK_LIB}