From ad13c00ae8cba6327851652a7d0c94a6d6316916 Mon Sep 17 00:00:00 2001 From: Johnathan Corgan Date: Fri, 28 May 2010 20:02:38 -0700 Subject: Make C++ shared libraries versioned --- usrp2/host/lib/Makefile.am | 2 ++ usrp2/host/usrp2.pc.in | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'usrp2') 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@ -- cgit