5f7e11dd42
PR: ports/105211 Submitted by: Charming Sun <snnn119@gmail.com> (maintainer)
21 lines
478 B
Text
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
|
|
|