summaryrefslogtreecommitdiff
path: root/src/GF/Compile.hs
diff options
context:
space:
mode:
authorkrasimir <krasimir@chalmers.se>2009-04-30 07:56:22 +0000
committerkrasimir <krasimir@chalmers.se>2009-04-30 07:56:22 +0000
commitae6e8ee401e170224312d78cf43e0e51e49e9976 (patch)
treedea18f1c83277fae2387d236b864458a7e14c774 /src/GF/Compile.hs
parentc6ac4801ad271ac2b7c093ce77172930529a1fb1 (diff)
added -gf-lib-path option which overides the value of GF_LIB_PATH
Diffstat (limited to 'src/GF/Compile.hs')
-rw-r--r--src/GF/Compile.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GF/Compile.hs b/src/GF/Compile.hs
index 59357f783..67e1d218c 100644
--- a/src/GF/Compile.hs
+++ b/src/GF/Compile.hs
@@ -119,7 +119,7 @@ compileModule opts1 env file = do
let opts = addOptions opts0 opts1
let fdir = dropFileName file
let ps0 = flag optLibraryPath opts
- ps1 <- ioeIO $ extendPathEnv $ fdir : ps0
+ ps1 <- ioeIO $ extendPathEnv opts $ fdir : ps0
let ps2 = ps1 ++ map (fdir </>) ps0
ps <- ioeIO $ fmap nub $ mapM canonicalizePath ps2
ioeIO $ putIfVerb opts $ "module search path:" +++ show ps ----