Skip to content

Adjusted cf3_with_library to handle case where --with-feature is not defined (3.21)#5933

Merged
craigcomstock merged 1 commit into
cfengine:3.21.xfrom
craigcomstock:ent-13016/3.21
Nov 5, 2025
Merged

Adjusted cf3_with_library to handle case where --with-feature is not defined (3.21)#5933
craigcomstock merged 1 commit into
cfengine:3.21.xfrom
craigcomstock:ent-13016/3.21

Conversation

@craigcomstock

@craigcomstock craigcomstock commented Nov 4, 2025

Copy link
Copy Markdown
Contributor

In the case of pam and lmdb, due to checks for brew, --with-pam and --with-lmdb, if not specified by the user, are not defined.
This resulted in -R/lib being added to LMDB_LDFLAGS and PAM_LDFLAGS and by appending: CORE_LDFLAGS.

This -R/lib adds an RPATH which rhel-10 rpmbuild complains about since it is a standard path that should not be included in RPATHS.

Ticket: ENT-13016
Changelog: none
(cherry picked from commit 2264624)
(cherry picked from commit 2f1ffa8)

together
#5933
cfengine/buildscripts#2022

…defined

In the case of pam and lmdb, due to checks for brew, --with-pam and --with-lmdb, if not specified by the user, are not defined.
This resulted in -R/lib being added to LMDB_LDFLAGS and PAM_LDFLAGS and by appending: CORE_LDFLAGS.

This -R/lib adds an RPATH which rhel-10 rpmbuild complains about since it is a standard path that should not be included in RPATHS.

Ticket: ENT-13016
Changelog: none
(cherry picked from commit 2264624)
(cherry picked from commit 2f1ffa8)
@craigcomstock craigcomstock changed the title Adjusted cf3_with_library to handle case where --with-geature is not defined (3.21) Adjusted cf3_with_library to handle case where --with-feature is not defined (3.21) Nov 5, 2025
@craigcomstock craigcomstock marked this pull request as ready for review November 5, 2025 18:16
@craigcomstock craigcomstock merged commit 080ebe8 into cfengine:3.21.x Nov 5, 2025
48 of 50 checks passed
@craigcomstock craigcomstock deleted the ent-13016/3.21 branch November 5, 2025 18:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant