[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problem with build
From: |
aotto |
Subject: |
Problem with build |
Date: |
Mon, 1 Aug 2022 20:38:18 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 |
Hi,
my build uses "LT_INIT([dlopen disable-static])" and compile a lot of
libraries by default only shared.
if I "configure" with "--enable-static" the automake/libtool create the
static libraries to → everything ok.
but in ONE library I dont want to have a static library build because it
is only used as dlopen (by tcl)…
pkglib_LTLIBRARIES = libtclmkkernel.la
libtclmkkernel_la_SOURCES = LibMkKernel_tcl.c MkObjectC_tcl.c
MkExceptionC_tcl.c MkErrorC_tcl.c MkBufferC_tcl.c \
MkBufferStreamC_tcl.c MkBufferLC_tcl.c
MkLogFileC_tcl.c MkRuntimeC_tcl.c
libtclmkkernel_la_CPPFLAGS = -DMK_TCL_BUILD_DLL -DMK_LIB_BUILD_DLL
$(UBSAN) $(TCL_INCLUDE_SPEC) $(TCL_CFLAGS) $(libmkkernel_CPPFLAGS)
libtclmkkernel_la_CFLAGS = $(UBSAN) -Wstrict-prototypes -Wconversion
-Werror
libtclmkkernel_la_LDFLAGS = $(UBSAN) -version-info @VERSION_INFO@
-no-undefined $(TCL_LIBADD)
if ENABLE_STATIC
libtclmkkernel_la_LIBADD = ../libmkkernel/libmkkernel_private_pic.la
$(libmkkernel_LIBADD)
else
libtclmkkernel_la_LIBADD = $(libmkkernel_public_LIBADD)
endif
question what I have to-do to avoid a "static" library "libtclmkkernel.a"
mfg.
- Problem with build,
aotto <=