Fixed libsmack deployment. Now version is only in the
authorJarkko Sakkinen <ext-jarkko.2.sakkinen@nokia.com>
Wed, 2 Feb 2011 08:10:03 +0000 (00:10 -0800)
committerJarkko Sakkinen <ext-jarkko.2.sakkinen@nokia.com>
Wed, 2 Feb 2011 08:10:03 +0000 (00:10 -0800)
file extension for library blobs.

configure.ac
libsmack-1.0.pc.in
src/Makefile.am
tests/Makefile.am

index 321c8df..e48fb87 100644 (file)
@@ -1,5 +1,5 @@
 AC_PREREQ(2.59)
-AC_INIT([libsmack-1.0],[1.0.0])
+AC_INIT([libsmack],[1.0.0])
 AM_INIT_AUTOMAKE(-Wall -Werror)
 
 AC_CONFIG_MACRO_DIR([m4])
index 28509b1..61f6cf2 100644 (file)
@@ -3,9 +3,9 @@ exec_prefix=@exec_prefix@
 libdir=@libdir@
 includedir=@includedir@
 
-Name: @PACKAGE_NAME@
+Name: libsmack-1.0
 Description: Smack kernel module userland library
 Requires:
 Version: @PACKAGE_VERSION@
-Libs: -L${libdir} -lsmack-1.0
+Libs: -L${libdir} -lsmack
 Cflags: -I${includedir}/libsmack-1.0
index 638224c..2001443 100644 (file)
@@ -1,5 +1,5 @@
 ACLOCAL_AMFLAGS = -I m4
-lib_LTLIBRARIES = libsmack-1.0.la
+lib_LTLIBRARIES = libsmack.la
 
-libsmack_1_0_la_LDFLAGS = -version-info 1:0:0
-libsmack_1_0_la_SOURCES = smack.c
+libsmack_la_LDFLAGS = -version-info 1:0:0
+libsmack_la_SOURCES = smack.c
index 4efb960..3f2dcb0 100644 (file)
@@ -3,4 +3,4 @@ check_PROGRAMS = check_smack
 
 check_smack_SOURCES = check_smack.c $(top_builddir)/src/smack.h
 check_smack_CFLAGS = @CHECK_CFLAGS@
-check_smack_LDADD = $(top_builddir)/src/.libs/libsmack-1.0.a @CHECK_LIBS@
+check_smack_LDADD = -L$(top_builddir)/src/.libs -lsmack @CHECK_LIBS@