[asterisk-commits] rizzo: branch rizzo/cygwin_build r87950 - /team/rizzo/cygwin_build/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Oct 31 17:52:54 CDT 2007
Author: rizzo
Date: Wed Oct 31 17:52:54 2007
New Revision: 87950
URL: http://svn.digium.com/view/asterisk?view=rev&rev=87950
Log:
no -fPIC on cygwin
Modified:
team/rizzo/cygwin_build/Makefile.moddir_rules
Modified: team/rizzo/cygwin_build/Makefile.moddir_rules
URL: http://svn.digium.com/view/asterisk/team/rizzo/cygwin_build/Makefile.moddir_rules?view=diff&rev=87950&r1=87949&r2=87950
==============================================================================
--- team/rizzo/cygwin_build/Makefile.moddir_rules (original)
+++ team/rizzo/cygwin_build/Makefile.moddir_rules Wed Oct 31 17:52:54 2007
@@ -32,7 +32,9 @@
$(addsuffix .o,$(C_MODS)): ASTCFLAGS+=-DAST_MODULE=\"$*\" $(MENUSELECT_OPTS_$*:%=-D%) $(foreach dep,$(MENUSELECT_DEPENDS_$*),$(value $(dep)_INCLUDE))
$(addsuffix .oo,$(CC_MODS)): ASTCFLAGS+=-DAST_MODULE=\"$*\" $(MENUSELECT_OPTS_$*:%=-D%) $(foreach dep,$(MENUSELECT_DEPENDS_$*),$(value $(dep)_INCLUDE))
+ifneq ($OSARCH,cygwin) # -fPIC is default on cygwin
$(LOADABLE_MODS:%=%.so): ASTCFLAGS+=-fPIC
+endif
$(LOADABLE_MODS:%=%.so): LIBS+=$(foreach dep,$(MENUSELECT_DEPENDS_$*),$(value $(dep)_LIB))
$(LOADABLE_MODS:%=%.so): ASTLDFLAGS+=$(foreach dep,$(MENUSELECT_DEPENDS_$*),$(value $(dep)_LDFLAGS))
More information about the asterisk-commits
mailing list