blob: 11524c2e74dd6cbcc6ef918dfce1f7535ae8fcb8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
--- a/configure.in
+++ b/configure.in
@@ -183,9 +183,6 @@
blt_lib_prefix=""
fi
;;
- *-*-macosx)
- blt_platform="macosx"
- ;;
*)
blt_platform="unix"
;;
@@ -728,6 +725,9 @@
*-hpux*)
SHLIB_SUFFIX="sl"
;;
+ *-darwin*)
+ SHLIB_SUFFIX="dylib"
+ ;;
*)
SHLIB_SUFFIX="so"
;;
@@ -1145,6 +1145,13 @@
LDFLAGS=""
;;
+ *-darwin*)
+ SHLIB_CFLAGS=""
+ SHLIB_LD="${CC}"
+ SHLIB_LD_FLAGS='-dynamiclib -install_name $(libdir)/$@'
+ SHLIB_SUFFIX=".dylib"
+ ;;
+
*-dgux*)
SHLIB_CFLAGS="-K PIC"
SHLIB_LD="cc"
|