blob: bf72064319b8f149a0364a093beea1133d2557d9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- tmp/sofa/20180130/c/src/makefile 2018-01-30 14:47:22.000000000 +0100
+++ makefilemodrr 2018-04-16 21:24:19.725749771 +0200
@@ -77,7 +77,7 @@
# Name the SOFA/C library in its source and target locations.
-SOFA_LIB_NAME = libsofa_c.a
+SOFA_LIB_NAME = libsofa_c.so
SOFA_LIB = $(SOFA_LIB_DIR)$(SOFA_LIB_NAME)
# Name the SOFA/C testbed in its source and target locations.
@@ -380,7 +380,7 @@
# Build the library.
$(SOFA_LIB_NAME): $(SOFA_OBS)
- ar ru $(SOFA_LIB_NAME) $?
+ gcc -shared -o $(SOFA_LIB_NAME) $?
# Install the header files.
$(SOFA_INC) : $(INSTALL_DIRS) $(SOFA_INC_NAMES)
|