From 3ab492335d81de2c5299d27216a99b88227f9fce Mon Sep 17 00:00:00 2001 From: Arrigo Marchiori Date: Sun, 15 Feb 2026 14:20:07 +0100 Subject: [PATCH] Avoid compiling with -lnsl under Linux Distributions may not ship libnsl any more. --- main/crashrep/source/unx/makefile.mk | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/main/crashrep/source/unx/makefile.mk b/main/crashrep/source/unx/makefile.mk index 39536048609..2f054554dbd 100644 --- a/main/crashrep/source/unx/makefile.mk +++ b/main/crashrep/source/unx/makefile.mk @@ -53,7 +53,10 @@ APP1OBJS=$(OBJFILES) APP1RPATH=BRAND .IF "$(OS)" != "FREEBSD" && "$(OS)" != "MACOSX" && "$(OS)"!="NETBSD" -APP1STDLIBS+=-ldl -lnsl +APP1STDLIBS+=-ldl +.IF "$(OS)" != "LINUX" +APP1STDLIBS+=-lnsl +.ENDIF .ENDIF .IF "$(OS)" == "SOLARIS" APP1STDLIBS+=-lsocket