• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/libnl/0001-build-add-Libs.private-field-in-libnl-pkg-config-fil.patch
Baruch SiachBaruch Siach committed e8e20c8022f04 May 2017
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
1
From db0d59cd06f3ffd350379847c0885e1bfb85af0f Mon Sep 17 00:00:00 2001
2
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
3
Date: Sat, 7 Mar 2015 11:34:42 +0100
4
Subject: [PATCH 2/2] build: add Libs.private field in libnl pkg-config file
5
​
6
In order to support static linking, the libnl pkg-config file should
7
indicate in its Libs.private field the libraries that libnl-3.0.a
8
requires. The LIBS variable contains the appropriate list of
9
libraries: -lm in all cases, and -lpthread when pthread support is
10
enabled. This allows to statically link applications against libnl
11
properly.
12
​
13
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14
---
15
 libnl-3.0.pc.in | 1 +
16
 1 file changed, 1 insertion(+)
17
​
18
diff --git a/libnl-3.0.pc.in b/libnl-3.0.pc.in
19
index b87e3dc..ddbc999 100644
20
--- a/libnl-3.0.pc.in
21
+++ b/libnl-3.0.pc.in
22
@@ -7,4 +7,5 @@ Name: libnl
23
 Description: Convenience library for netlink sockets
24
 Version: @PACKAGE_VERSION@
25
 Libs: -L${libdir} -lnl-@MAJ_VERSION@
26
+Libs.private: @LIBS@
27
 Cflags: -I${includedir}/libnl@MAJ_VERSION@
28
-- 
29
2.1.0
30
​
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.