summaryrefslogtreecommitdiff
path: root/usrp2
diff options
context:
space:
mode:
authorJohnathan Corgan2010-05-28 20:02:38 -0700
committerJohnathan Corgan2010-05-28 20:02:38 -0700
commitad13c00ae8cba6327851652a7d0c94a6d6316916 (patch)
tree1339e544d1ce2062305c9120e55b8c8131f39215 /usrp2
parent745670bc73d364a25d39b31d89daece8dba48160 (diff)
downloadgnuradio-ad13c00ae8cba6327851652a7d0c94a6d6316916.tar.gz
gnuradio-ad13c00ae8cba6327851652a7d0c94a6d6316916.tar.bz2
gnuradio-ad13c00ae8cba6327851652a7d0c94a6d6316916.zip
Make C++ shared libraries versioned
Diffstat (limited to 'usrp2')
-rw-r--r--usrp2/host/lib/Makefile.am2
-rw-r--r--usrp2/host/usrp2.pc.in2
2 files changed, 3 insertions, 1 deletions
diff --git a/usrp2/host/lib/Makefile.am b/usrp2/host/lib/Makefile.am
index cda051bb0..209cb7095 100644
--- a/usrp2/host/lib/Makefile.am
+++ b/usrp2/host/lib/Makefile.am
@@ -30,6 +30,8 @@ usrp2_socket_opener_SOURCES = usrp2_socket_opener.cc
lib_LTLIBRARIES = \
libusrp2.la
+libusrp2_la_LDFLAGS = $(LTVERSIONFLAGS)
+
libusrp2_la_SOURCES = \
control.cc \
copiers.cc \
diff --git a/usrp2/host/usrp2.pc.in b/usrp2/host/usrp2.pc.in
index e0c2b1986..0c862a877 100644
--- a/usrp2/host/usrp2.pc.in
+++ b/usrp2/host/usrp2.pc.in
@@ -6,6 +6,6 @@ includedir=@includedir@
Name: usrp2
Description: Universal Software Radio Peripheral 2
Requires: gruel
-Version: @VERSION@
+Version: @LIBVER@
Libs: -L${libdir} -lusrp2
Cflags: -I${includedir} @DEFINES@