From: Andre Noll Date: Mon, 2 Feb 2009 18:27:13 +0000 (+0100) Subject: Fix compilation on FreeBSD. X-Git-Tag: v0.1.0~38^2^2~1 X-Git-Url: http://git.tuebingen.mpg.de/?p=osl.git;a=commitdiff_plain;h=c912c0e4598c5cfb2715f178a4f7cc681cf3253a Fix compilation on FreeBSD. --- 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):