blob: bd786736ef514d334c9c05a8276064c5f037310a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
--- 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
|