1
0
Эх сурвалжийг харах

Pgi compilers can't accept shared library with Boost version
suffix appended to it. Add logic to tag rule in Jamroot to
suppress appending version suffix for pgi toolset.



[SVN r41734]

K. Noel Belcourt 18 жил өмнө
parent
commit
80f56a80f4
1 өөрчлөгдсөн 3 нэмэгдсэн , 1 устгасан
  1. 3 1
      Jamroot

+ 3 - 1
Jamroot

@@ -320,8 +320,10 @@ rule tag ( name : type ? : property-set )
             # On OSX, version suffix is not needed -- the linker expets
             # libFoo.1.2.3.dylib format.
             # AIX linkers don't accept version suffixes either.
+            # Pgi compilers can't accept library with version suffix
             if $(type) = SHARED_LIB &&
-              ! ( [ $(property-set).get <target-os> ] in windows cygwin darwin aix )
+              ( ! ( [ $(property-set).get <target-os> ] in windows cygwin darwin aix ) &&
+                ! ( [ $(property-set).get <toolset> ] in pgi ) )
             {
                 result = $(result).$(BOOST_VERSION)  ;
             }

粤ICP备19079148号