Various fixes for kFreeBSD shared library
authorSébastien Villemot <sebastien@debian.org>
Mon, 16 Aug 2021 17:45:15 +0000 (18:45 +0100)
committerSébastien Villemot <sebastien@debian.org>
Mon, 16 Aug 2021 17:45:15 +0000 (18:45 +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 bb8c60e9196992efa22b557dfb6aad8295021f6e..dd9effd79179def08a47e84f9b80ef64c43349a0 100644 (file)
@@ -368,7 +368,7 @@ ifeq ($(OSNAME), NetBSD)
 MD5SUM = md5 -n
 endif
 
-ifeq ($(OSNAME), Linux)
+ifeq ($(OSNAME), $(filter $(OSNAME),Linux FreeBSD))
 EXTRALIB       += -lm
 NO_EXPRECISION = 1
 endif