libcacard: fix compile error on glib2-2.12.3-4.el5
PATCH 1/1 libcacard: fix compile error on glib2-2.12.3-4.el5
From: Zhi Yong Wu <[email protected]>
lt LINK libcacard.la
CC libcacard/vscclient.o
lt LINK vscclient/usr/bin/ld: -f may not be used without -shared
collect2: ld returned 1 exit status
make: *** [vscclient] Error 1
Signed-off-by Zhi Yong Wu <[email protected]>
--- libcacard/Makefile | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
libcacard/Makefile +2 -1
@@ -1,5 +1,6 @@ libcacard_includedir=$(includedir)/cacard - +CFLAGS += -fPIC +LDFLAGS += $(LDFLAGS_SHARED) TOOLS += vscclient$(EXESUF) # objects linked into a shared library, built with libtool with -fPIC if required
Signature · 1 line
1.5.5.6
Il 27/09/2014 03:13, [email protected] ha scritto:
Quoted 19 lines
From: Zhi Yong Wu <[email protected]>
lt LINK libcacard.la
CClibcacard/vscclient.o
lt LINK vscclient/usr/bin/ld: -f may not be used without -shared
collect2: ld returned 1 exit status
make: *** [vscclient] Error 1Signed-off-by Zhi Yong Wu <[email protected]>--- libcacard/Makefile | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)libcacard/Makefile +0
-0
libcacard/Makefile line 4
Quoted 5 lines
libcacard/Makefile +2
-1@@ -1,5 +1,6 @@ libcacard_includedir=$(includedir)/cacard - +CFLAGS += -fPIC +LDFLAGS += $(LDFLAGS_SHARED) TOOLS += vscclient$(EXESUF)
This is included into the main Makefile, so please do the change there.
Paolo
Quoted 2 lines
libcacard/Makefile +0
-0# objects linked into a shared library, built with libtool with -fPIC if required