summaryrefslogtreecommitdiffstats
path: root/devel/loki/files/patch-test_SingletonDll_Makefile
blob: 469c23e6499a932a1ac4af1725187c0505f08a95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- test/SingletonDll/Makefile.orig
+++ test/SingletonDll/Makefile
@@ -5,6 +5,11 @@
   LIB2 := libsingletondll.dylib
   SHARED_LIB_FLAG := -dynamiclib -fPIC
 else
+ifeq ($(OS),FreeBSD)
+  LIB1 := libfoo.so
+  LIB2 := libsingletondll.so
+  SHARED_LIB_FLAG := --shared -fPIC
+else
 ifeq ($(OS),Linux)
   LIB1 := libfoo.so
   LIB2 := libsingletondll.so
@@ -15,6 +20,7 @@
   SHARED_LIB_FLAG := --shared
 endif
 endif
+endif
 
 BIN1 := client$(BIN_SUFFIX)
 SRC1 := client.cpp
OpenPOWER on IntegriCloud