<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:howarth.mailing.lists@gmail.com" title="Jack Howarth <howarth.mailing.lists@gmail.com>"> <span class="fn">Jack Howarth</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - -DLLVM_LINK_LLVM_DYLIB:BOOL=ON prevents creation of libPolly.dylib"
   href="https://llvm.org/bugs/show_bug.cgi?id=26377">bug 26377</a>
        <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>FIXED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - -DLLVM_LINK_LLVM_DYLIB:BOOL=ON prevents creation of libPolly.dylib"
   href="https://llvm.org/bugs/show_bug.cgi?id=26377#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - -DLLVM_LINK_LLVM_DYLIB:BOOL=ON prevents creation of libPolly.dylib"
   href="https://llvm.org/bugs/show_bug.cgi?id=26377">bug 26377</a>
              from <span class="vcard"><a class="email" href="mailto:howarth.mailing.lists@gmail.com" title="Jack Howarth <howarth.mailing.lists@gmail.com>"> <span class="fn">Jack Howarth</span></a>
</span></b>
        <pre>My mistake. In the fink project, we have been using the change...

--- polly-3.9.0.src.orig/lib/CMakeLists.txt     2015-09-21 09:00:19.000000000
-0400
+++ polly-3.9.0.src/lib/CMakeLists.txt  2015-09-21 09:54:19.000000000 -0400
@@ -322,6 +322,26 @@
   )
 endif()

+if (APPLE)
+# apparently, this is not wanted on linux
+target_link_libraries(Polly
+  LLVMAnalysis
+  LLVMBitReader
+  LLVMCore
+  LLVMInstCombine
+  LLVMMC
+  LLVMMCParser
+  LLVMObject
+  LLVMProfileData
+  LLVMSupport
+  LLVMScalarOpts
+  LLVMTarget
+  LLVMTransformUtils
+  LLVMVectorize
+  LLVMipo
+)
+endif()
+
 # Build a monolithic Polly.a and a thin module LLVMPolly.moduleext that links
to
 # that static library.
 if (MSVC)

to address symbol resolution issues when using -DBUILD_SHARED_LIBS:BOOL=ON</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>