src/Makefile.am: fix building with --enable-gsmhr

In change [1] I moved libraries from _LDFLAGS to _LIBADD, but I did
not notice that there was another problem: when building with gsmhr,
the content of _LIBADD gets overwritten in a conditional block.

Do not overwrite but append libgsmhr.la to _LIBADD.

Change-Id: Ib46b1f6555b13e0937a8d6fe6e2ad70ed9d06d58
Fixes: [1] 08c1edb986
This commit is contained in:
Vadim Yanitskiy 2023-03-16 00:55:43 +07:00
parent 99a6ba79c8
commit 166a189c4f
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ libosmogapk_la_LDFLAGS = \
$(NULL) $(NULL)
if ENABLE_GSMHR if ENABLE_GSMHR
libosmogapk_la_LIBADD = $(top_builddir)/libgsmhr/libgsmhr.la libosmogapk_la_LIBADD += $(top_builddir)/libgsmhr/libgsmhr.la
endif endif
# Processing queue implementation # Processing queue implementation