Fix compilation on FreeBSD.
authorAndre Noll <maan@systemlinux.org>
Mon, 2 Feb 2009 18:27:13 +0000 (19:27 +0100)
committerAndre Noll <maan@systemlinux.org>
Mon, 2 Feb 2009 18:27:13 +0000 (19:27 +0100)
Makefile

index 0aff6be..73fdcc3 100644 (file)
--- 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):