Various fixes for kFreeBSD shared library
authorSébastien Villemot <sebastien@debian.org>
Mon, 21 Feb 2022 10:14:52 +0000 (10:14 +0000)
committerSébastien Villemot <sebastien@debian.org>
Mon, 21 Feb 2022 10:14:52 +0000 (10:14 +0000)
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 438a8148a08bdd9532da29aab33f635d599c6faf..dc6d0f05d6993633814a33c386ebea621d86d0f1 100644 (file)
@@ -397,7 +397,7 @@ ifeq ($(OSNAME), NetBSD)
 MD5SUM = md5 -n
 endif
 
-ifeq ($(OSNAME), Linux)
+ifeq ($(OSNAME), $(filter $(OSNAME),Linux FreeBSD))
 EXTRALIB       += -lm
 NO_EXPRECISION = 1
 endif