Browse Source

Check for libgdb when building inno setup

peter 20 years ago
parent
commit
2737e8d599
2 changed files with 9 additions and 0 deletions
  1. 4 0
      Makefile
  2. 5 0
      Makefile.fpc

+ 4 - 0
Makefile

@@ -2665,6 +2665,10 @@ ifeq ($(wildcard docs-pdf.zip),)
 	@$(ECHO) "No documentation available. Please copy the file docs-pdf.zip to this directory."
 	@exit 1
 endif
+endif
+ifeq ($(wildcard libgdb/win32/libgdb.a),)
+	@$(ECHO) "Libgdb not available. Please get and unzip libgdb-<version>.i386-win32.zip in this directory."
+	@exit 1
 endif
 	$(DELTREE) $(INNODIR)
 	$(MKDIR) $(INNODIR)

+ 5 - 0
Makefile.fpc

@@ -685,6 +685,11 @@ ifeq ($(wildcard docs-pdf.zip),)
 	@$(ECHO) "No documentation available. Please copy the file docs-pdf.zip to this directory."
 	@exit 1
 endif
+endif
+# Check for libgdb
+ifeq ($(wildcard libgdb/win32/libgdb.a),)
+	@$(ECHO) "Libgdb not available. Please get and unzip libgdb-<version>.i386-win32.zip in this directory."
+	@exit 1
 endif
         $(DELTREE) $(INNODIR)
         $(MKDIR) $(INNODIR)