packages feed

opencv-extra-0.0.0.1: Setup.hs

import Distribution.Simple ( defaultMainArgs )
import System.Environment ( getArgs )

main = do
    args <- getArgs
    let args' | "configure" `elem` args = args ++ ["--with-gcc","c++", "--with-ld","c++"]
              | otherwise               = args
    defaultMainArgs args'