Radish alpha
H
HardenedBSD Package Manager
Radicle
Git (anonymous pull)
Log in to clone via SSH
Fix make distcheck and building on systems without libelf
Baptiste Daroussin committed 11 years ago
commit c69371aff0822e0f1c3e49aadbebb043908b87cf
parent 858928da43ef89d98bd8a245521720ca692cecd4
1 file changed +3 -1
modified external/Makefile.am
@@ -83,7 +83,6 @@ if DYNAMIC
noinst_LTLIBRARIES+=	$(DYNLIBS)
endif

-

libelf_la_SOURCES=	libelf/elf.c \
			libelf/elf_begin.c \
			libelf/elf_cntl.c \
@@ -143,6 +142,9 @@ libelf_la_SOURCES= libelf/elf.c \
			libelf/libelf_msize.c \
			libelf/libelf_convert.c
libelf_la_CFLAGS=	-I$(top_srcdir)/external/libelf
+
libelf_static_la_SOURCES=	${libelf_la_SOURCES}
+
libelf_static_la_CFLAGS=	$(libelf_la_CFLAGS) -static
+
libelf_static_la_LDFLAGS=	-all-static

libsbuf_la_SOURCES=	libsbuf/subr_sbuf.c
sbuf_common_CFLAGS=	-I$(top_srcdir)/external/libsbuf