Skip to content
Snippets Groups Projects
Commit b2f2c072 authored by Duncan Coutts's avatar Duncan Coutts
Browse files

Fix generating Paths_pkgname module with hugs

In the case that the progsdir is not relative to the $prefix
parent c01b1a04
No related branches found
No related tags found
No related merge requests found
......@@ -151,6 +151,7 @@ generate pkg_descr lbi =
absolute =
hasLibs pkg_descr -- we can only make progs relocatable
|| isNothing flat_bindirrel -- if the bin dir is an absolute path
|| (isHugs && isNothing flat_progdirrel)
|| not (supportsRelocatableProgs (compilerFlavor (compiler lbi)))
supportsRelocatableProgs Hugs = True
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment