From a2a75b7846ced539cea8cd39e73ca4313f8f033c Mon Sep 17 00:00:00 2001 From: Werner Lemberg Date: Wed, 26 Jul 2000 21:47:19 +0000 Subject: [PATCH] Use `patsubst' instead of `subst' in cleaning rule to avoid problems with filenames which contain `lo' in its name (e.g. ahglobal.lo). --- builds/unix/unix.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builds/unix/unix.in b/builds/unix/unix.in index 9aeea24a4..d5a0269bb 100644 --- a/builds/unix/unix.in +++ b/builds/unix/unix.in @@ -186,7 +186,7 @@ ifdef BUILD_FREETYPE # clean_freetype_unix: -$(DELETE) $(BASE_OBJECTS) $(OBJ_M) $(OBJ_S) - -$(DELETE) $(subst $O,$(SO),$(BASE_OBJECTS) $(OBJ_M) $(OBJ_S)) \ + -$(DELETE) $(patsubst %.$O,%.$(SO),$(BASE_OBJECTS) $(OBJ_M) $(OBJ_S)) \ $(CLEAN) distclean_freetype_unix: clean_freetype_unix