Commits

Bryan O'Sullivan committed 7dbbee2

Drop libmygcc from the list of required libraries.

We'd only need that if we supported linking with the libmysqld
embedded server, which we most definitely do not right now.

Comments (0)

Files changed (1)

 
   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}