Make editline a non-static library and let libtool decide (same with
libel_compat). This way libedit will build shared version is the library that is possible to link with other shared lib if its needed. Also make libed_compat a libtool convenience library. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14672 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -12,9 +12,7 @@ man_MANS = editline.3
|
||||
|
||||
lib_LTLIBRARIES = libeditline.la
|
||||
if el_compat
|
||||
noinst_LTLIBRARIES = libel_compat.la
|
||||
else
|
||||
noinst_LTLIBRARIES =
|
||||
noinst_LTLIBRARIES += libel_compat.la
|
||||
endif
|
||||
|
||||
noinst_PROGRAMS = testit
|
||||
@@ -37,14 +35,10 @@ libeditline_la_SOURCES = \
|
||||
unix.h \
|
||||
$(EXTRA_SOURCE)
|
||||
|
||||
libeditline_la_LDFLAGS = -static
|
||||
|
||||
EXTRA_SOURCE = $(ES)
|
||||
|
||||
libel_compat_la_SOURCES = edit_compat.c
|
||||
|
||||
libel_compat_la_LDFLAGS = -static
|
||||
|
||||
EXTRA_DIST = $(man_MANS)
|
||||
|
||||
snprintf.c:
|
||||
|
Reference in New Issue
Block a user