Various fixes for kFreeBSD shared library
authorSébastien Villemot <sebastien@debian.org>
Thu, 17 Dec 2020 12:53:00 +0000 (12:53 +0000)
committerSébastien Villemot <sebastien@debian.org>
Thu, 17 Dec 2020 12:53:00 +0000 (12:53 +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 5adde36d8d7022877aaf779e3cc22160a10d11e8..84c667e0459b091f77c02ea7c8a2e81714b551ec 100644 (file)
@@ -365,7 +365,7 @@ ifeq ($(OSNAME), NetBSD)
 MD5SUM = md5 -n
 endif
 
-ifeq ($(OSNAME), Linux)
+ifeq ($(OSNAME), $(filter $(OSNAME),Linux FreeBSD))
 EXTRALIB       += -lm
 NO_EXPRECISION = 1
 endif