From 86676ac8c40a96880f323c2b1a09a5714d85705e Mon Sep 17 00:00:00 2001 From: Timo Teras Date: Wed, 12 Nov 2008 11:57:53 +0200 Subject: build: remove pthreads references --- Makefile | 2 +- src/Makefile | 2 +- src/package.c | 1 - 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 #include #include -#include #include #include "apk_defines.h" -- cgit v1.2.3