Skip to content

Commit

Permalink
link against libzip
Browse files Browse the repository at this point in the history
  • Loading branch information
olear committed Oct 18, 2016
1 parent 882a359 commit 69641c0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
4 changes: 3 additions & 1 deletion minidump-stackwalk/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ EXTRA_OBJS := \

VPATH += $(JSON_SRCDIR)

LIBZIP_LIBS := $(shell pkg-config libzip --libs)

OS := $(shell uname -s)
ifeq ($(OS),Linux)
CURL_CFLAGS := $(shell pkg-config libcurl --cflags)
Expand All @@ -49,7 +51,7 @@ CXXFLAGS += \
$(WERROR) \
$(CURL_CFLAGS) \
$(NULL)
LIBS := $(CURL_LIBS)
LIBS := $(CURL_LIBS) $(LIBZIP_LIBS)

.SECONDEXPANSION:
$(BINS): %: %.cc $(BREAKPAD_LIBS) $(EXTRA_OBJS) $$($$*_OBJS)
Expand Down
10 changes: 5 additions & 5 deletions stackwalker.spec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Summary: Convert minidump to JSON
Summary: Parse crash reports
Name: stackwalker

Version: 2016.06
Version: 2016.10
Release: 1%{?dist}
License: BSD

Expand All @@ -11,11 +11,11 @@ URL: https://github.com/olear/stackwalker
Source: %{name}-%{version}.tar.xz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildRequires: libcurl-devel
Requires: libcurl
BuildRequires: libcurl-devel libzip-devel
Requires: libcurl libzip

%description
Convert minidump to JSON.
Parse crash reports from clients using Breakpad.

%prep
%setup
Expand Down

0 comments on commit 69641c0

Please sign in to comment.