changeset 23335:a7711cdafa6b

Fix win32 build.
author Daniel Atallah <daniel.atallah@gmail.com>
date Mon, 09 Jun 2008 14:34:43 +0000
parents 2cc744b5925c
children dd21962a8a1d d4c299272a95
files share/ca-certs/Makefile.mingw
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/share/ca-certs/Makefile.mingw	Mon Jun 09 06:35:52 2008 +0000
+++ b/share/ca-certs/Makefile.mingw	Mon Jun 09 14:34:43 2008 +0000
@@ -8,14 +8,17 @@
 include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak
 
 datadir := $(PIDGIN_INSTALL_DIR)
-include ./Makefile.am
 cacertsdir := $(PIDGIN_INSTALL_DIR)/ca-certs
+-include ./Makefile.am.mingw
 
 .PHONY: install
 
-install:
+install: ./Makefile.am.mingw
 	if test '$(cacerts_DATA)'; then \
 	  mkdir -p $(cacertsdir); \
 	  cp $(cacerts_DATA) $(cacertsdir); \
 	fi;
 
+./Makefile.am.mingw: ./Makefile.am
+	sed -e 's/^if\ INSTALL_SSL_CERTIFICATES/ifeq (\$$(INSTALL_SSL_CERTIFICATES), 1)/' ./Makefile.am > $@
+	include $@