package/zic: bump version to 2015e
[buildroot-gz.git] / package / lshw / 0001-add-LIBS.patch
blob70b2a5b68ff4bf4ea5a018fc94ea642edb11bf74
1 We need to be able to pass extra LIBS when our toolchain lacks NLS support,
2 this way we can build libintl and link to it.
3 A good example is uClibc with locale support disabled.
5 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
7 diff -Nura lshw-B.02.16.orig/src/gui/Makefile lshw-B.02.16/src/gui/Makefile
8 --- lshw-B.02.16.orig/src/gui/Makefile 2012-05-28 12:32:49.303885759 -0300
9 +++ lshw-B.02.16/src/gui/Makefile 2012-05-28 12:33:33.850206001 -0300
10 @@ -11,7 +11,7 @@
11 CXXFLAGS=-g -Wall $(INCLUDES) $(DEFINES) $(RPM_OPT_FLAGS)
12 CFLAGS=$(CXXFLAGS) $(DEFINES)
13 GTKLIBS=$(shell pkg-config gtk+-2.0 gmodule-2.0 --libs)
14 -LIBS=-L../core -llshw -lresolv -lsqlite3 $(GTKLIBS)
15 +LIBS+=-L../core -llshw -lresolv -lsqlite3 $(GTKLIBS)
16 LDFLAGS=
17 ifneq ($(shell $(LD) --help 2| grep -- --as-needed), )
18 LDFLAGS+= -Wl,--as-needed
19 diff -Nura lshw-B.02.16.orig/src/Makefile lshw-B.02.16/src/Makefile
20 --- lshw-B.02.16.orig/src/Makefile 2012-05-28 12:32:49.292885680 -0300
21 +++ lshw-B.02.16/src/Makefile 2012-05-28 12:33:24.530139060 -0300
22 @@ -30,7 +30,7 @@
23 LDFLAGS+= -Wl,--as-needed
24 endif
25 LDSTATIC=-static
26 -LIBS=-llshw -lresolv
27 +LIBS+=-llshw -lresolv
28 ifeq ($(SQLITE), 1)
29 LIBS+= $(shell pkg-config --libs sqlite3)
30 endif