Commit 86676ac8 authored by Timo Teräs's avatar Timo Teräs

build: remove pthreads references

parent ffa03a21
......@@ -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
......
......@@ -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)
......
......@@ -17,7 +17,6 @@
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
#include <pthread.h>
#include <sys/wait.h>
#include "apk_defines.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment