summaryrefslogtreecommitdiff
path: root/sysutils/apt/files/patch-buildlib_environment.mak.in
blob: 37a651b7a0662ba65f52470a806d4e117cb7c110 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- buildlib/environment.mak.in.orig	Thu Mar  2 05:56:30 2006
+++ buildlib/environment.mak.in	Wed Oct 25 15:51:02 2006
@@ -65,7 +65,14 @@
 ifneq ($(words $(filter linux-gnu gnu% %gnu,$(HOST_OS))),0)
    SONAME_MAGIC=-Wl,-soname -Wl,
    LFLAGS_SO=
-else
+endif
+
+ifneq ($(words $(filter freebsd% %freebsd,$(HOST_OS))),0)
+   SONAME_MAGIC=-Wl,-soname -Wl,
+   LFLAGS_SO=
+endif
+
+ifndef SONAME_MAGIC
    # Do not know how to create shared libraries here.
    ONLYSTATICLIBS = yes
 endif