summaryrefslogtreecommitdiff
path: root/src/remake.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/remake.c')
-rw-r--r--src/remake.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/remake.c b/src/remake.c
index 7c841f5d..d5cd3b38 100644
--- a/src/remake.c
+++ b/src/remake.c
@@ -1717,7 +1717,7 @@ library_search (const char *lib, FILE_TIMESTAMP *mtime_ptr)
const char **dp;
- libpatterns = xstrdup (expand_string ("$(.LIBPATTERNS)"));
+ libpatterns = allocated_expand_variable (STRING_SIZE_TUPLE (".LIBPATTERNS"));
/* Skip the '-l'. */
lib += 2;