Просмотр исходного кода

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 лет назад
Родитель
Сommit
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号