Skip to content

Commit 793487f

Browse files
authored
Merge pull request #3495 from dougnazar/fix_netbsd_ci
Fix rpath option of NetBSD CI
2 parents 6268974 + fc63968 commit 793487f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ci_build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1078,7 +1078,7 @@ detect_platform_PKG_CONFIG_PATH_and_FLAGS() {
10781078
# linking well. For more details see
10791079
# https://github.com/networkupstools/nut/pull/2870#issuecomment-2768590518
10801080
if [ -d "/usr/pkg/lib" -a -d "/usr/pkg/include" ] ; then
1081-
LDFLAGS="${LDFLAGS-} -R/usr/pkg/lib"
1081+
LDFLAGS="${LDFLAGS-} -Wl,-R/usr/pkg/lib"
10821082
CFLAGS="${CFLAGS-} -I/usr/pkg/include"
10831083
CXXFLAGS="${CXXFLAGS-} -I/usr/pkg/include"
10841084
fi

0 commit comments

Comments
 (0)