blob: 3daf96ae84e94a67c40aea7d225fb4771d13c34c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
--- Makefile
+++ Makefile
@@ -6,7 +6,7 @@
CFLAGS ?= -Wall -O2 -g
CFLAGS += -DHAVE_GETOPT_LONG -DUSE_SSL
CFLAGS += -DSETPROCTITLE -DSPT_TYPE=1
-LDFLAGS += -lssl -lcrypto
+LDFLAGS += -lssl $(shell pkg-config libcrypto --libs)
PREFIX =/usr/local
BINDIR = $(PREFIX)/bin
@@ -27,7 +27,7 @@
ntlm.o
proxytunnel: $(OBJ)
- $(CC) -o $(PROGNAME) $(CFLAGS) $(LDFLAGS) $(OBJ)
+ $(CC) -o $(PROGNAME) $(CFLAGS) $(OBJ) $(LDFLAGS)
clean:
@rm -f $(PROGNAME) $(OBJ)
@@ -34,4 +34,4 @@
install:
install -D -m755 $(PROGNAME) $(DESTDIR)$(BINDIR)/$(PROGNAME)
- install -D -m644 debian/$(PROGNAME).1 $(DESTDIR)$(MANDIR))/$(PROGNAME).1
+ install -D -m644 debian/$(PROGNAME).1 $(DESTDIR)$(MANDIR)/man1/$(PROGNAME).1
|