[mod_test] Fix OSX build
This commit is contained in:
parent
724868fa08
commit
a4f0b2f2a0
|
@ -1,10 +1,14 @@
|
|||
include $(top_srcdir)/build/modmake.rulesam
|
||||
MODNAME=mod_test
|
||||
|
||||
noinst_LTLIBRARIES = libtestmod.la
|
||||
libtestmod_la_SOURCES = mod_test.c
|
||||
|
||||
mod_LTLIBRARIES = mod_test.la
|
||||
mod_test_la_SOURCES = mod_test.c
|
||||
mod_test_la_CFLAGS = $(AM_CFLAGS)
|
||||
mod_test_la_LIBADD = $(switch_builddir)/libfreeswitch.la
|
||||
mod_test_la_LDFLAGS = -avoid-version -module -no-undefined -shared
|
||||
mod_test_la_SOURCES =
|
||||
mod_test_la_LIBADD = $(switch_builddir)/libfreeswitch.la $(SOFIALA) libtestmod.la
|
||||
mod_test_la_LDFLAGS = -avoid-version -module -no-undefined -shared
|
||||
|
||||
SUBDIRS=. test
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
include $(top_srcdir)/build/modmake.rulesam
|
||||
noinst_PROGRAMS = test_asr
|
||||
test_asr_CFLAGS = $(AM_CFLAGS) -I../
|
||||
test_asr_LDFLAGS = $(AM_LDFLAGS) -avoid-version -no-undefined $(freeswitch_LDFLAGS) ../mod_test.la $(switch_builddir)/libfreeswitch.la $(CORE_LIBS) $(APR_LIBS)
|
||||
test_asr_LDFLAGS = $(AM_LDFLAGS) -avoid-version -no-undefined $(freeswitch_LDFLAGS) $(switch_builddir)/libfreeswitch.la $(CORE_LIBS) $(APR_LIBS)
|
||||
test_asr_LDADD = ../libtestmod.la
|
||||
TESTS = $(noinst_PROGRAMS)
|
||||
|
|
Loading…
Reference in New Issue