Skip to content

Commit

Permalink
Drop the .libs trick when building PCRE2 on HP-UX
Browse files Browse the repository at this point in the history
Looks like PCRE2 doesn't need this, only PCRE did.

Ticket: ENT-10629
Changelog: None
  • Loading branch information
vpodzime committed Dec 7, 2023
1 parent 8750022 commit bd9dc1b
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions deps-packaging/pcre2/hpux/build
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,6 @@ PREFIX=${BUILDPREFIX}
PC=${BUILD_ROOT}/cfbuild-pcre2${PREFIX}
PCD=${BUILD_ROOT}/cfbuild-pcre2-devel${PREFIX}

# HP-UX needs the .libs directory in the library search path because of a
# bug in libtool: it will specify libpcre2.so.0 as the dependency of
# libpcre2posix.so.0, however when it links it tries to link to libpcre2.so.
# Although they are the same library, the native ld is not happy with this,
# and starts looking for the libpcre2.so.0 library on its own, which it won't
# find, because it wasn't listed on the command line. Hence we need to
# specify libtool's secret library stash: ".libs".
LDFLAGS="$LDFLAGS -L.libs"

# Patch

# Configure
Expand Down

0 comments on commit bd9dc1b

Please sign in to comment.