]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
[mod_commands] OpenBSD compat
authornrensen <nathanael.github@polymorpheus.com>
Mon, 19 Jul 2021 15:57:13 +0000 (23:57 +0800)
committerGitHub <noreply@github.com>
Mon, 19 Jul 2021 15:57:13 +0000 (18:57 +0300)
src/mod/applications/mod_commands/Makefile.am

index 60d4aa13bdc0cab870f82d15b9f799182afb1a60..18d5832063ff403588a0e39daeeb3eb572b51d8b 100644 (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)