title: cabal -threaded options not working
body: <p>I am trying out Haskell and Cabal. I created a project with this config file.</p>
  
  <pre><code>executable dictionary
    main-is:             Main.hs
    -- other-modules:       
    -- other-extensions:    
    ghc-options: -threaded -rtsopts
  
    build-depends:       base &gt;=4.9 &amp;&amp; &lt;4.10, http-streams, io-streams, bytestring, HsOpenSSL
    -- hs-source-dirs:      
    default-language:    Haskell2010
  </code></pre>
  
  <p>I am trying to send a get request.</p>
  
  <pre><code>main :: IO ()
  main = withOpenSSL $ do
      putStrLn "Type in a word"
      word &lt;- getLine
      let word1 = filter isAlphaNum $ (words word) !! 0
      putStrLn word1
      ctx &lt;- baselineContextSSL
      c &lt;- openConnectionSSL ctx url 443
  
      let q = buildRequest1 $ do
                  http GET $ (C.pack $ "/api/v1/entries/en/" ++ word1)
                  setAccept (C.pack "text/html")
                  setHeader (C.pack "app_id") app_id
                  setHeader (C.pack "app_key") apli_id
  
      sendRequest c q emptyBody
  
      receiveResponse c (\p i -&gt; do
          S.putStrLn $ getStatusMessage p
          xm &lt;- Streams.read i
          case xm of
              Just x    -&gt; S.putStr x
              Nothing   -&gt; putStrLn "")
      closeConnection c
  </code></pre>
  
  <p>I try to run cabal run but the results still:</p>
  
  <pre><code>Type in a word
  go
  go
  dictionary: user error (RTS doesn't support multiple OS threads (use ghc -threaded when linking))
  </code></pre>
  
  <p>I'm using macOS X siera</p>