From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason at zx2c4.com (Jason A. Donenfeld) Date: Fri, 1 Jul 2016 23:56:55 +0200 Subject: [PATCH] Link with -ldl on GNU/kFreeBSD In-Reply-To: <1466376953-11504-1-git-send-email-peter@colberg.org> References: <1466376953-11504-1-git-send-email-peter@colberg.org> Message-ID: Hey Peter, I wonder if a better way would be match the particular libc out of uname -o. In this case, GNU libc needs -ldl. Do other libcs also need libdl? Seems like this might be slightly cleaner. Any opinions on this list? Jason