From c912c0e4598c5cfb2715f178a4f7cc681cf3253a Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Mon, 2 Feb 2009 19:27:13 +0100 Subject: [PATCH 1/1] Fix compilation on FreeBSD. --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index 0aff6be..73fdcc3 100644 --- a/Makefile +++ b/Makefile @@ -78,6 +78,11 @@ ifeq ($(uname_s),NetBSD) LDFLAGS += -Wl,-soname,$(soname) endif +ifeq ($(uname_s),FreeBSD) + format := elf + LDFLAGS += -Wl,-soname,$(soname) +endif + ifeq ($(format),elf) # On ELf-based systems, the following conventions apply (see dhweeler's # Program Library HOWTO): -- 2.30.2