mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2026-06-02 21:39:27 -04:00
contrary to libasound, version script for libatopology is a regular
source file. while it's often the case that $(builddir) and $(srcdir)
point to the same directory, they don't always have to. therefore path
needs to point explicitly to $(srcdir) for Versions script in topology
Closes: https://github.com/alsa-project/alsa-lib/pull/383
Fixes: GH-382
Fixes: dc7da761f3 ("topology: separate Versions linker script")
Signed-off-by: Jan Palus <jpalus@fastmail.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
38 lines
630 B
Makefile
38 lines
630 B
Makefile
EXTRA_DIST = Versions
|
|
COMPATNUM=@LIBTOOL_VERSION_INFO@
|
|
|
|
if VERSIONED_SYMBOLS
|
|
VSYMS = -Wl,--version-script=$(srcdir)/Versions
|
|
else
|
|
VSYMS =
|
|
endif
|
|
|
|
if SYMBOLIC_FUNCTIONS
|
|
SYMFUNCS = -Wl,-Bsymbolic-functions
|
|
else
|
|
SYMFUNCS =
|
|
endif
|
|
|
|
lib_LTLIBRARIES = libatopology.la
|
|
|
|
libatopology_la_LIBADD = ../libasound.la
|
|
libatopology_la_LDFLAGS = -version-info $(COMPATNUM) $(VSYMS) $(SYMFUNCS) $(LDFLAGS_NOUNDEFINED)
|
|
|
|
libatopology_la_SOURCES =\
|
|
parser.c \
|
|
builder.c \
|
|
ctl.c \
|
|
dapm.c \
|
|
pcm.c \
|
|
data.c \
|
|
text.c \
|
|
channel.c \
|
|
ops.c \
|
|
elem.c \
|
|
save.c \
|
|
decoder.c \
|
|
log.c
|
|
|
|
noinst_HEADERS = tplg_local.h
|
|
|
|
AM_CPPFLAGS=-I$(top_srcdir)/include
|