Various fixes for kFreeBSD shared library
authorSébastien Villemot <sebastien@debian.org>
Sat, 30 Oct 2021 00:01:09 +0000 (01:01 +0100)
committerAnton Gladky <gladk@debian.org>
Sat, 30 Oct 2021 00:01:09 +0000 (01:01 +0100)
Forwarded: not-needed
Last-Update: 2014-08-05

Under kFreeBSD, give a SONAME to the shared library and install it. Also link
it against libm.
Simply use the same code as Linux for all these operations.
Last-Update: 2014-08-05
Gbp-Pq: Name kfreebsd.patch

Makefile.system

index 150dbef50b062f6b840b25eb3eae75d7907e4947..e313297e53b7a8cca5d586098c8c61c4af4a21a9 100644 (file)
@@ -380,7 +380,7 @@ ifeq ($(OSNAME), NetBSD)
 MD5SUM = md5 -n
 endif
 
-ifeq ($(OSNAME), Linux)
+ifeq ($(OSNAME), $(filter $(OSNAME),Linux FreeBSD))
 EXTRALIB       += -lm
 NO_EXPRECISION = 1
 endif