• 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/iprutils/0003-Fix-static-build-by-passing-the-libraries-i.patch
Romain NaourRomain Naour committed ab6170ce67d13 Dec 2014
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
1
From 1f62dd91314b0ce6378aeafb2a03566002036326 Mon Sep 17 00:00:00 2001
2
From: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
3
Date: Thu, 11 Dec 2014 23:36:55 +0100
4
Subject: [PATCH 3/3] iprutils: Fix static build by passing the libraries in
5
 the right order
6
​
7
This mistake was causing failures like this one:
8
​
9
m_post.c:(.text+0x60): undefined reference to `wattr_on'
10
​
11
http://autobuild.buildroot.net/results/500/5004e7b230635e0605acdd17d2b7d2d01fc5075c/build-end.log
12
​
13
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
14
[Romain: rebase on top of 2.4.5]
15
Signed-off-by: Romain Naour <romain.naour@openwide.fr>
16
---
17
 Makefile | 2 +-
18
 1 file changed, 1 insertion(+), 1 deletion(-)
19
​
20
diff --git a/Makefile b/Makefile
21
index 66c4942..18cea94 100644
22
--- a/Makefile
23
+++ b/Makefile
24
@@ -16,7 +16,7 @@ TAR = cd .. && tar -zcpf iprutils-$(UTILS_VER)-src.tgz --exclude .git --exclude
25
 all: iprconfig iprupdate iprdump iprinit iprdbg docs 
26
 
27
 iprconfig: iprconfig.c iprlib.o iprconfig.h
28
-   $(CC) $(CFLAGS) $(INCLUDEDIR) -o iprconfig iprconfig.c iprlib.o $(LDFLAGS) -lform -lpanel -lncurses -lmenu -lm
29
+   $(CC) $(CFLAGS) $(INCLUDEDIR) -o iprconfig iprconfig.c iprlib.o $(LDFLAGS) -lform -lpanel -lmenu -lncurses -lm
30
 
31
 iprupdate: iprupdate.c iprlib.o
32
    $(CC) $(CFLAGS) $(INCLUDEDIR) -o iprupdate iprlib.o iprupdate.c $(LDFLAGS)
33
-- 
34
1.9.3
35
​
  • 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.