Skip to content

Commit

Permalink
Drop libmygcc from the list of required libraries.
Browse files Browse the repository at this point in the history
We'd only need that if we supported linking with the libmysqld
embedded server, which we most definitely do not right now.
  • Loading branch information
bos committed May 16, 2011
1 parent 8f028f5 commit 6c7d0ed
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Setup.lhs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ mysqlBuildInfo lbi = do

return emptyBuildInfo {
extraLibDirs = map (drop 2) . filter ("-L" `isPrefixOf`) $ libs
, extraLibs = map (drop 2) . filter ("-l" `isPrefixOf`) $ libs
, extraLibs = map (drop 2) . filter ("-l" `isPrefixOf`) .
filter (/= "-lmygcc") $ libs
, includeDirs = map (drop 2) include
}
\end{code}

0 comments on commit 6c7d0ed

Please sign in to comment.