projects
/
osl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
6d7dce7
)
Fix compilation on FreeBSD.
author
Andre Noll
<maan@systemlinux.org>
Mon, 2 Feb 2009 18:27:13 +0000
(19:27 +0100)
committer
Andre Noll
<maan@systemlinux.org>
Mon, 2 Feb 2009 18:27:13 +0000
(19:27 +0100)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/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):