forked from Lainports/opnsense-ports
Taken from: https://github.com/freebsd/freebsd-ports.git Commit id: 5070672073b68be364139bc6b3a89100bd17d331
18 lines
488 B
Makefile
18 lines
488 B
Makefile
--- 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
|