]> git.tuebingen.mpg.de Git - osl.git/blobdiff - Makefile
Fix compilation on FreeBSD.
[osl.git] / Makefile
index 0aff6beb99b3f42e4028cad88582457929d346fc..73fdcc3cc5cb96b7266a1273fcf6ce615bad6eba 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):