Project

General

Profile

Bug #13447

nspr.pc should include runpath

Added by Carsten Grzemba 3 months ago. Updated 2 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Tags:

Description

pkg-config delivers the libdir only for -L, there should be an -R (runpath) also.

patch 02-pkg-config-libs.patch can changed in:

--- nspr-4.21/nspr/config/nspr.pc.in 2019-03-07 11:04:05.000000000 0000
++ nspr-4.21/nspr/config/nspr.pc.in.new 2019-03-16 09:47:09.536584020 +0000
@ -6,5 +6,5 @ includedir=includedir
Name: NSPR
Description: The Netscape Portable Runtime
Version: MOD_MAJOR_VERSION.MOD_MINOR_VERSION.MOD_PATCH_VERSION
-Libs: -L@libdir@ -lplds@MOD_MAJOR_VERSION@ -lplc@MOD_MAJOR_VERSION@ -lnspr@MOD_MAJOR_VERSION@
+Libs: -L@libdir@ -lplds@MOD_MAJOR_VERSION@ -lplc@MOD_MAJOR_VERSION@ -lnspr@MOD_MAJOR_VERSION@ -lpthread -ldl -lposix4 -R@libdir@
Cflags: -I@includedir@

#1

Updated by Aurélien Larcher 2 months ago

  • Status changed from New to Resolved

Also available in: Atom PDF