mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2024-12-23 23:42:35 +00:00
- fix Makefile CFLAGS for abuild-tar.o - make ssl flags overridable (e.g. if we don't have pkg-config)
This commit is contained in:
parent
d537a005c6
commit
d5013a3915
9
Makefile
9
Makefile
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user