another place where ../ should have been ASTTOPDIR
authorLuigi Rizzo <rizzo@icir.org>
Sun, 9 Dec 2007 21:32:30 +0000 (21:32 +0000)
committerLuigi Rizzo <rizzo@icir.org>
Sun, 9 Dec 2007 21:32:30 +0000 (21:32 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@92023 65c4cc65-6c06-0410-ace0-fbb531ad65f3

Makefile.moddir_rules

index 988f484..4343599 100644 (file)
@@ -66,7 +66,7 @@ _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)
+  LIBS+=-L$(ASTTOPDIR)/main -lasterisk -L$(ASTTOPDIR)/res $($@_LIBS)
   # additional libraries in res/
 endif
 endif