diff options
author | Laurent Bercot <ska-devel@skarnet.org> | 2016-01-27 11:38:34 +0100 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-01-27 10:51:29 +0000 |
commit | d5013a39151c39a2e59650215ed2f4bf3104eb54 (patch) | |
tree | 3db5c8b92d0d8aa10721f0004c7c6a8be050b7db /Makefile | |
parent | d537a005c60315255f8d1aaec7ba2c618f5a9dea (diff) | |
download | abuild-d5013a39151c39a2e59650215ed2f4bf3104eb54.tar.gz abuild-d5013a39151c39a2e59650215ed2f4bf3104eb54.tar.bz2 abuild-d5013a39151c39a2e59650215ed2f4bf3104eb54.tar.xz abuild-d5013a39151c39a2e59650215ed2f4bf3104eb54.zip |
- fix Makefile CFLAGS for abuild-tar.o - make ssl flags overridable (e.g. if we don't have pkg-config)
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -37,14 +37,15 @@ SED_REPLACE := -e 's:@VERSION@:$(FULL_VERSION):g' \ -e 's:@datadir@:$(datadir):g' \ -e 's:@abuildrepo@:$(abuildrepo):g' -SSL_CFLAGS = $(shell pkg-config --cflags openssl) -SSL_LIBS = $(shell pkg-config --libs openssl) +SSL_CFLAGS ?= $(shell pkg-config --cflags openssl) +SSL_LDFLAGS ?= $(shell pkg-config --cflags openssl) +SSL_LIBS ?= $(shell pkg-config --libs openssl) -LDFLAGS ?= OBJS-abuild-tar = abuild-tar.o +CFLAGS-abuild-tar.o = $(SSL_CFLAGS) +LDFLAGS-abuild-tar = $(SSL_LDFLAGS) LIBS-abuild-tar = $(SSL_LIBS) -CFLAGS-abuild-tar = $(SSL_CFLAGS) OBJS-abuild-sudo = abuild-sudo.o OBJS-abuild-fetch = abuild-fetch.o |