binaries/Makefile.am: libraries shall not be in AM_LDFLAGS

Change-Id: I7258743969f5d3ac85dfb887ee1729cff8a910b6
This commit is contained in:
Vadim Yanitskiy 2023-03-09 16:35:15 +07:00
parent 357d5af97a
commit 1abf0b43fc
1 changed files with 1 additions and 2 deletions

View File

@ -9,9 +9,8 @@ include $(top_srcdir)/test_pdu/Makefile.am
include $(top_srcdir)/test_apps/Makefile.am
include $(top_srcdir)/src/Makefile.am
LDADD = libsmpp34.la
LDADD = libsmpp34.la -lrt -lpthread
AM_CPPFLAGS = -D_REENTRANT -DBSD_COMP -D_POSIX_PTHREAD_SEMANTICS
AM_CFLAGS = @CFLAGS@ -Wall -fPIC # -static
INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)
AM_LDFLAGS = -lrt -lpthread
OBJ_EXTRA_DIST = $(esme_EXTRA_DIST)