[mod_commands] OpenBSD compat

This commit is contained in:
nrensen 2021-07-19 23:57:13 +08:00 committed by GitHub
parent 311e932df5
commit ba8aff571e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -7,9 +7,13 @@ mod_commands_la_CFLAGS = $(AM_CFLAGS)
mod_commands_la_LIBADD = $(switch_builddir)/libfreeswitch.la
mod_commands_la_LDFLAGS = -avoid-version -module -no-undefined -shared
noinst_LTLIBRARIES = libmodcommands.la
libmodcommands_la_SOURCES = $(mod_commands_la_SOURCES)
libmodcommands_la_CFLAGS = $(mod_commands_la_CFLAGS)
noinst_PROGRAMS = test/test_mod_commands
test_test_mod_commands_CFLAGS = $(SWITCH_AM_CFLAGS) -I../ -DSWITCH_TEST_BASE_DIR_FOR_CONF=\"${abs_builddir}/test\" -DSWITCH_TEST_BASE_DIR_OVERRIDE=\"${abs_builddir}/test\"
test_test_mod_commands_LDFLAGS = -avoid-version -no-undefined $(SWITCH_AM_LDFLAGS)
test_test_mod_commands_LDADD = mod_commands.la $(switch_builddir)/libfreeswitch.la
test_test_mod_commands_LDADD = libmodcommands.la $(switch_builddir)/libfreeswitch.la
TESTS = $(noinst_PROGRAMS)