freebsd-ports/devel/loki/files/patch-src-Makefile
Pav Lucistnik 5f7e11dd42 - Update to 0.1.5
PR:		ports/105211
Submitted by:	Charming Sun <snnn119@gmail.com> (maintainer)
2007-01-28 01:38:11 +00:00

21 lines
478 B
Text

--- src/Makefile.orig Sun Jan 28 01:57:12 2007
+++ src/Makefile Sun Jan 28 01:59:57 2007
@@ -20,10 +20,18 @@
LDLIBS = -lpthread
RESULT_DIR = ../lib/
else
+ifeq ($(OS), FreeBSD)
+ SHARED_LIB_BASE = libloki.so
+ SHARED_LIB_VERSIONED = libloki.so.0
+ LDFLAGS = --shared -Wl,-soname=$(SHARED_LIB_VERSIONED)
+ LDLIBS = -pthread
+ RESULT_DIR = ../lib/
+else
SHARED_LIB_BASE = libloki.dll
LDFLAGS = --shared
LDLIBS =
RESULT_DIR = ../lib/
+endif
endif
endif