blob: ae96329b85e3dc36dfb6e613a273f8ebb7aa9f1b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
--- src/cwlib/Makefile.orig 2009-07-21 06:34:13.000000000 +0000
+++ src/cwlib/Makefile 2009-07-21 06:34:39.000000000 +0000
@@ -43,11 +43,11 @@
libcw.so.0.0.0: cwlib.o
if [ "$(CC_LINKS_SO)" = "yes" ]; then \
$(CC) -shared -Wl,-soname,libcw.so.0 \
- -o libcw.so.0.0.0 cwlib.o; \
+ -o libcw.so.0.0.0 cwlib.o -lm; \
else \
if [ "$(LD_LINKS_SO)" = "yes" ]; then \
$(LD) -G -Wl,-soname,libcw.so.0 \
- -o libcw.so.0.0.0 cwlib.o; \
+ -o libcw.so.0.0.0 cwlib.o -lm; \
fi \
fi
|