File tree 2 files changed +4
-7
lines changed
cabal-install/Distribution/Client
2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -150,14 +150,8 @@ needBuildInfo pkg_descr bi modules = do
150
150
, jsSources bi
151
151
, cmmSources bi
152
152
, asmSources bi
153
+ , extraSrcFiles pkg_descr
153
154
]
154
- -- A MASSIVE HACK to (1) make sure we rebuild when header
155
- -- files change, but (2) not have to rebuild when anything
156
- -- in extra-src-files changes (most of these won't affect
157
- -- compilation). It would be even better if we knew on a
158
- -- per-component basis which headers would be used but that
159
- -- seems to be too difficult.
160
- traverse_ needIfExists (filter ((== " .h" ). takeExtension) (extraSrcFiles pkg_descr))
161
155
for_ (installIncludes bi) $ \ f ->
162
156
findFileMonitored (" ." : includeDirs bi) f
163
157
>>= maybe (return () ) need
Original file line number Diff line number Diff line change
1
+ synopsis: all extra-source-files are change-tracked
2
+ packages: cabal-install
3
+ issues: #4746
You can’t perform that action at this time.
0 commit comments