From 6938f4b2b002accd9c86e5cc63cfe31d0fe10e47 Mon Sep 17 00:00:00 2001 From: Luigi Rizzo Date: Tue, 20 Nov 2007 16:12:10 +0000 Subject: Fix building of modules under cygwin. After this commit we can actually load modules under windows, and we can start debugging more interesting problems related to the load order and functionality of modules. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89454 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- Makefile.moddir_rules | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Makefile.moddir_rules') diff --git a/Makefile.moddir_rules b/Makefile.moddir_rules index 54113de74..988f484d4 100644 --- a/Makefile.moddir_rules +++ b/Makefile.moddir_rules @@ -66,9 +66,8 @@ _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 + LIBS+=-L../main -lasterisk -L../res $($@_LIBS) # additional libraries in res/ - LIBS_RES:= -lres_monitor -lres_adsi -lres_features endif endif -- cgit v1.2.3