Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
Packages
Cabal
Commits
b24eca13
Commit
b24eca13
authored
Apr 26, 2011
by
Ian Lynagh
Browse files
Tell hsc2hs where to find cabal_macros.h
parent
f08af90e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Distribution/Simple/PreProcess.hs
View file @
b24eca13
...
...
@@ -454,7 +454,9 @@ ppHsc2hs bi lbi =
++
[
"--cflag="
++
opt
|
pkg
<-
pkgs
,
opt
<-
[
"-I"
++
opt
|
opt
<-
Installed
.
includeDirs
pkg
]
++
[
opt
|
opt
<-
Installed
.
ccOptions
pkg
]
]
++
[
opt
|
opt
<-
Installed
.
ccOptions
pkg
]
++
[
"-I"
++
autogenModulesDir
lbi
,
"-include"
,
autogenModulesDir
lbi
</>
cppHeaderName
]
]
++
[
"--lflag="
++
opt
|
pkg
<-
pkgs
,
opt
<-
[
"-L"
++
opt
|
opt
<-
Installed
.
libraryDirs
pkg
]
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment