diff --git a/compiler2/makefile.c b/compiler2/makefile.c
index 40f5b6894352ecdd33231408bb2c8cb56d555cc9..c6bc327e83c9a21d21c373eb4d1a125ad7d13bff 100644
--- a/compiler2/makefile.c
+++ b/compiler2/makefile.c
@@ -3648,7 +3648,7 @@ static void print_makefile(struct makefile_struct *makefile)
     if (makefile->linkingStrategy) {
       fputs("\n\n"
         "archive:\n"
-        "\t@perl $(TTCN3_DIR)/bin/ttcn3_archive.pl\n\n", fp);
+        "\t@perl $(TTCN3_DIR)/bin/ttcn3_archive\n\n", fp);
     }
     else {
       fputs("\n\n"
diff --git a/etc/Makefile b/etc/Makefile
index 4f5db67cfa590f02efc75ff0d2f923e38e013bbd..6bff501955127c3bfda9bafe97edc6c34a144eac 100644
--- a/etc/Makefile
+++ b/etc/Makefile
@@ -48,5 +48,5 @@ else
 #	cp asciiart/*.txt $(ETCDIR)/asciiart
 	mkdir -p $(ETCDIR)/scripts
 	cp scripts/*.py $(ETCDIR)/scripts
-	cp scripts/ttcn3_archive.pl $(BINDIR)
+	cp scripts/ttcn3_archive $(BINDIR)
 endif
diff --git a/etc/scripts/ttcn3_archive.pl b/etc/scripts/ttcn3_archive
similarity index 100%
rename from etc/scripts/ttcn3_archive.pl
rename to etc/scripts/ttcn3_archive