More utility cleanups
[asterisk/asterisk.git] / res / Makefile
index 4386f05..47e0c4f 100755 (executable)
@@ -11,7 +11,7 @@
 # the GNU General Public License
 #
 
-MODS=res_adsi.so res_features.so res_crypto.so res_musiconhold.so res_indications.so res_monitor.so \
+MODS=res_adsi.so res_features.so res_musiconhold.so res_indications.so res_monitor.so \
      res_agi.so
 
 ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/include/odbcinst.h)$(wildcard $(CROSS_COMPILE_TARGET)/usr/local/include/odbcinst.h),)
@@ -23,6 +23,10 @@ ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/include/odbcinst.h)$(wildcard $(CR
   MODS+=res_odbc.so
 endif
 
+ifneq ($(NOCRYPTO),yes)
+  MODS+=res_crypto.so
+endif
+
 ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/local/include/osp/osp.h),)
   MODS+=res_osp.so
   OSPLIB=$(CROSS_COMPILE_TARGET)/usr/local/lib/libosptk.a