[packages] gpsd: update to v2.90
[openwrt/svn-archive/archive.git] / net / gpsd / patches / 001-fix-libtool-link.patch
1 --- a/Makefile.in
2 +++ b/Makefile.in
3 @@ -559,7 +559,7 @@
4 #
5 # Build shared libraries
6 #
7 -libgps_la_LDFLAGS = -version-number 19:0:0
8 +libgps_la_LDFLAGS = -version-number 19:0:0 $(LDFLAGS)
9 lib_LTLIBRARIES = libgps.la
10 libgpsd_c_sources = \
11 ais_json.c \
12 @@ -616,8 +616,8 @@
13 BUILT_SOURCES = packet_names.h gpsd.h revision.h ais_json.i maskdump.c
14 libgps_la_SOURCES = $(libgpsd_c_sources) $(libgpsd_h_sources) \
15 driver_rtcm2.h packet_states.h $(am__append_2)
16 -@LIBGPSMM_ENABLE_FALSE@libgps_la_LINK = /bin/sh ./libtool --tag=CC --mode=link gcc $(libgps_la_LDFLAGS) -o $@
17 -@LIBGPSMM_ENABLE_TRUE@libgps_la_LINK = /bin/sh ./libtool --tag=CXX --mode=link g++ $(libgps_la_LDFLAGS) -o $@
18 +@LIBGPSMM_ENABLE_FALSE@libgps_la_LINK = /bin/sh ./libtool --tag=CC --mode=link $(CC) $(libgps_la_LDFLAGS) -o $@
19 +@LIBGPSMM_ENABLE_TRUE@libgps_la_LINK = /bin/sh ./libtool --tag=CXX --mode=link $(CXX) $(libgps_la_LDFLAGS) -o $@
20 nodist_libgps_la_SOURCES = packet_names.h ais_json.i
21 libgps_la_LIBADD = $(LIBM) $(LIBC) $(LIBNSL) $(LIBSOCKET) $(LIBPTHREAD)
22