Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-36657

add ${PCRE_LIBRARY_PATH} to link directories

Details

    Description

      Commit 3a33ae8 uses pkg-config to find the location of PCRE library.
      However when a user installs the library in non-standard location
      (/workspace/mylib for example), it's also recommended to use the
      '-Wl,-rpath -Wl,LIBDIR' linker flag to point the build system to where
      the library installed.

      In the revision, it's now compatible when libpcre2-8.pc is not available. In this case PCRE_LIBRARY_DIRS is empty and it still relies on users to set the path correctly so CMake can find the shared object. If everything is in place, FIND_LIBRARY() macro should be able to find the library, and we can use the path to set the link directories.

      Pull request: https://github.com/MariaDB/server/pull/3225

      Attachments

        Issue Links

          Activity

            People

              serg Sergei Golubchik
              svoj Sergey Vojtovich
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.