mirror of
https://github.com/Thesola10/umd-livepatch.git
synced 2025-04-19 22:13:22 +00:00
add autoconf-style env for librsync
This commit is contained in:
parent
40826fafbc
commit
b5d7f9dd4f
@ -8,7 +8,10 @@ DOCOPT2RAGEL := docopt2ragel
|
|||||||
|
|
||||||
LIBRSYNC_SOURCE := librsync
|
LIBRSYNC_SOURCE := librsync
|
||||||
|
|
||||||
ifeq (,$(wildcard /usr/lib*/librsync.*))
|
ifneq (,${LIBRSYNC_LIBS})
|
||||||
|
CFLAGS += ${LIBRSYNC_CFLAGS}
|
||||||
|
LIBS += ${LIBRSYNC_LIBS}
|
||||||
|
else ifeq (,$(wildcard /usr/lib*/librsync.*))
|
||||||
CFLAGS += -I$(LIBRSYNC_SOURCE)/src
|
CFLAGS += -I$(LIBRSYNC_SOURCE)/src
|
||||||
OBJS += librsync.a
|
OBJS += librsync.a
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user