mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-20 12:20:12 +00:00
use auto-build for res modules too
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9552 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -11,14 +11,12 @@
|
||||
# the GNU General Public License
|
||||
#
|
||||
|
||||
BUILD_MODS:=$(patsubst %.c,%.o,$(wildcard func_*.c))
|
||||
MODS:=$(patsubst %.c,%.so,$(wildcard func_*.c))
|
||||
|
||||
ifeq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/include/odbcinst.h)$(wildcard $(CROSS_COMPILE_TARGET)/usr/local/include/odbcinst.h),)
|
||||
BUILD_MODS:=$(filter-out func_odbc.o,$(BUILD_MODS))
|
||||
MODS:=$(filter-out func_odbc.so,$(MODS))
|
||||
endif
|
||||
|
||||
MODS:=$(BUILD_MODS:.o=.so)
|
||||
|
||||
ifeq (${OSARCH},CYGWIN)
|
||||
CYGSOLINK=-Wl,--out-implib=lib$@.a -Wl,--export-all-symbols
|
||||
CYGSOLIB=-L.. -L. -lasterisk.dll
|
||||
|
Reference in New Issue
Block a user