summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimo Teras <timo.teras@iki.fi>2008-11-12 11:57:53 +0200
committerTimo Teras <timo.teras@iki.fi>2008-11-12 11:57:53 +0200
commit86676ac8c40a96880f323c2b1a09a5714d85705e (patch)
tree85392b7c19cbe0980c7efc839a7955316359009d
parentffa03a21d86f770a526e1d8b9bfa195fe09f344b (diff)
downloadapk-tools-86676ac8c40a96880f323c2b1a09a5714d85705e.tar.bz2
apk-tools-86676ac8c40a96880f323c2b1a09a5714d85705e.tar.xz
build: remove pthreads references
-rw-r--r--Makefile2
-rw-r--r--src/Makefile2
-rw-r--r--src/package.c1
3 files changed, 2 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 897b4f8..06ab4c8 100644
--- a/Makefile
+++ b/Makefile
@@ -23,7 +23,7 @@ INSTALLDIR=$(INSTALL) -d
CFLAGS=-g -D_GNU_SOURCE -Werror -Wall -Wstrict-prototypes -std=gnu99 \
-DAPK_VERSION=\"$(FULL_VERSION)\"
LDFLAGS=-g
-LIBS=-lpthread
+LIBS=/usr/lib/libz.a
ifeq ($(STATIC),yes)
CFLAGS+=-fno-stack-protector
diff --git a/src/Makefile b/src/Makefile
index 62041c2..fbb3b5b 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -32,7 +32,7 @@ ALL_OBJS = $(apk_OBJS)
all: $(TARGETS)
apk: $(apk_OBJS)
- $(CC) $(LDFLAGS) -o $@ $^ $(LIBS) /usr/lib/libz.a
+ $(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
clean::
@rm -f $(TARGETS) $(ALL_OBJS)
diff --git a/src/package.c b/src/package.c
index 44cc387..165656d 100644
--- a/src/package.c
+++ b/src/package.c
@@ -17,7 +17,6 @@
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
-#include <pthread.h>
#include <sys/wait.h>
#include "apk_defines.h"