Fix the symbol_presence test with a shlib_variant
[openssl.git] / test / recipes / 01-test_symbol_presence.t
index efe0760c25227e2e8c1180e4d1d5d62c0b3cc674..5530ade0addddbfe895554294de20ff713caffd3 100644 (file)
@@ -76,7 +76,7 @@ foreach my $libname (@libnames) {
                 # Drop the first space and everything following it
                 s| .*||;
                 # Drop OpenSSL dynamic version information if there is any
-                s|\@\@OPENSSL_[0-9._]+[a-z]?$||;
+                s|\@\@.+$||;
                 # Return the result
                 $_
             }