• 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/i2c-tools/0006-Makefile-Allow-to-really-disable-the-dynamic-library.patch
Angelo CompagnucciAngelo Compagnucci committed b52f74f428221 Dec 2017
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
1
From 57d2c370493f2e9e33b30e8767624c648f138ec4 Mon Sep 17 00:00:00 2001
2
From: Jean Delvare <jdelvare@suse.de>
3
Date: Thu, 14 Dec 2017 13:34:34 +0100
4
Subject: Makefile: Allow to really disable the dynamic library
5
​
6
If the user disables the build of the dynamic library, we have to
7
link the tools with the static library. If we don't, the dependencies
8
will cause the dynamic library to be built regardless of the user's
9
request.
10
​
11
Signed-off-by: Jean Delvare <jdelvare@suse.de>
12
Fixes: 9906b2ecb6ae ("Makefile: Add flag to disable dynamic library")
13
Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
14
---
15
 Makefile | 2 ++
16
 1 file changed, 2 insertions(+)
17
​
18
diff --git a/Makefile b/Makefile
19
index 1bb5572..6bb741f 100644
20
--- a/Makefile
21
+++ b/Makefile
22
@@ -43,6 +43,8 @@ endif
23
 ifeq ($(BUILD_DYNAMIC_LIB),0)
24
 ifeq ($(BUILD_STATIC_LIB),0)
25
 $(error BUILD_DYNAMIC_LIB and BUILD_STATIC_LIB cannot be disabled at the same time)
26
+else
27
+USE_STATIC_LIB := 1
28
 endif
29
 endif
30
 
31
-- 
32
2.7.4
33
​
  • 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.