diff options
Diffstat (limited to 'libfetch')
-rw-r--r-- | libfetch/GNUmakefile | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/libfetch/GNUmakefile b/libfetch/GNUmakefile index 75598b8..181270d 100644 --- a/libfetch/GNUmakefile +++ b/libfetch/GNUmakefile @@ -5,7 +5,8 @@ SUBDIRS = -include $(TOPDIR)/makefiles/gmake/platform.mk INCLUDE_CFLAGS = \ - -DHAVE_CONFIG_H=0 -D_XOPEN_SOURCE=600 + -DHAVE_CONFIG_H=0 -D_XOPEN_SOURCE=600 -DFTP_COMBINE_CWDS \ + -DINET6 INCLUDE_LDFLAGS = \ @@ -14,6 +15,16 @@ INCLUDE_DIRS = \ INCLUDE_LIBS = \ +# openssl +ifeq ($(WITH_SSL),1) + +INCLUDE_CFLAGS += \ + -DWITH_SSL + +INCLUDE_LIBS += \ + $(OPENSSL_LIBS) +endif + OBJS = \ common.o \ fetch.o \ |