[project @ 2000-04-26 17:33:43 by rrt]
authorrrt <unknown>
Wed, 26 Apr 2000 17:33:43 +0000 (17:33 +0000)
committerrrt <unknown>
Wed, 26 Apr 2000 17:33:43 +0000 (17:33 +0000)
Corrected $(findstr to $(findstring

ghc/lib/std/Makefile

index cdf7963..542d536 100644 (file)
@@ -29,7 +29,7 @@ ifneq "$(way)" "dll"
 PACKAGE = -package-name std
 else
 # Hack by SPJ to delay if-then-else until the pattern rule when we have $*
-PACKAGE = $(subst ~, ,$(word $(words dummy $(findstr $(notdir $*), PrelMain )), -package-name~std))
+PACKAGE = $(subst ~, ,$(word $(words dummy $(findstring $(notdir $*), PrelMain )), -package-name~std))
 endif
 LIBRARY = libHSstd$(_way).a