summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--revdep/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/revdep/Makefile b/revdep/Makefile
index ecae89f..edb29e4 100644
--- a/revdep/Makefile
+++ b/revdep/Makefile
@@ -1,10 +1,10 @@
VERSION := 2.0
BINDIR := /usr/bin
-MANDIR := /usr/man/man1
+MANDIR := /usr/share/man/man1
ETCDIR := /etc/revdep.d
CXXFLAGS ?= -O2
CXXFLAGS += -std=gnu++0x -Wall -Wextra -g -DVERSION='"$(VERSION)"'
-LDFLAGS += -static -lelf
+LDFLAGS += -static $(shell pkg-config --libs --static libelf)
SOURCES := elf.cpp utility.cpp main.cpp pkg.cpp elf-cache.cpp
OBJECTS := $(patsubst %.cpp,%.o,$(SOURCES))

Generated by cgit