mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-02 11:06:31 +00:00
initial makefile changes to build loadable modules under cygwin
(not complete yet - still need to sort out dependecies on res_*) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89443 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -63,6 +63,13 @@ modules.link: $(addsuffix .eo,$(filter $(EMBEDDED_MODS),$(C_MODS)))
|
||||
|
||||
ifneq ($(LOADABLE_MODS),)
|
||||
_all: $(LOADABLE_MODS:%=%.so)
|
||||
ifneq ($(findstring $(OSARCH), mingw32 cygwin ),)
|
||||
# linker options and extra libraries for cygwin
|
||||
SOLINK=-Wl,--out-implib=lib$@.a -shared
|
||||
LIBS+=-L../main -lasterisk -L../res
|
||||
# additional libraries in res/
|
||||
LIBS_RES:= -lres_monitor -lres_adsi -lres_features
|
||||
endif
|
||||
endif
|
||||
|
||||
ifneq ($(EMBEDDED_MODS),)
|
||||
|
Reference in New Issue
Block a user