blob: 7db039a54a95e615f23ad7e09d3bd39b51afc009 (
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
|
From 6c9d6b9020c599f850c0b719cc9c041f1667671b Mon Sep 17 00:00:00 2001
From: Dave Vasilevsky <dave@vasilevsky.ca>
Date: Thu, 10 Jan 2013 08:28:06 -0500
Subject: [PATCH] Fix linking bug (issue 11)
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index fe605f2..3b27690 100644
--- a/Makefile
+++ b/Makefile
@@ -12,7 +12,7 @@ MYCFLAGS = $(patsubst %,-I%/include,$(LIBPREFIX)) $(OPT) -std=gnu99 \
MYLDFLAGS = $(patsubst %,-L%/lib,$(LIBPREFIX)) $(OPT) -Wall
THREADS = -lpthread
-LIBADD = $(THREADS) -llzma -larchive
+LIBADD = $(THREADS) -lm -llzma -larchive
CC = gcc
COMPILE = $(CC) $(MYCFLAGS) $(CFLAGS) -c -o
--
1.8.1.2
|