title: Specifying the DEF file when compiling a DLL with Clang
body: <p>I am trying to compile a DLL using clang in windows</p>
  
  <pre><code>clang -shared structs.c -o structs.dll
  </code></pre>
  
  <p>but the symbols aren't being exported..</p>
  
  <p>If I add __declspec(dllexport) to my declarations in structs.h, They symbols are exported to DLL.</p>
  
  <p>But instead, I would like to do this using a DEF file (structs.def) I created, But I can't find how I pass the DEF file to clang.</p>
  
  <p>Any help is appeciated :/</p>