X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2FMakefile-files;h=075c82c733d6440e5cfedf31e6d8839783d5aca4;hb=2630f6048c6959bf27700b9419ae46c43df5f30b;hp=660d467efa895033f683591ccf9483c2440bb1b7;hpb=05f8e8a30aa7c113890e3d28341a010c0f994dac;p=util-vserver.git diff --git a/lib/Makefile-files b/lib/Makefile-files index 660d467..075c82c 100644 --- a/lib/Makefile-files +++ b/lib/Makefile-files @@ -158,10 +158,11 @@ lib_v23_SRCS = lib/syscall_tagmigrate-v23.hc \ lib/syscall_getbadness-v23.hc \ lib/syscall_setbadness.c \ lib/syscall_setbadness-v23.hc \ - lib/syscall_ctxcreate-v23.hc \ - lib/syscall_ctxmigrate-v23.hc \ lib/syscall_getspacedefault.c \ - lib/syscall_getspacedefault-v23.hc + lib/syscall_getspacedefault-v23.hc \ + lib/syscall_setnamespace-v23.hc \ + lib/syscall_enternamespace-v23.hc \ + lib/syscall_getspacemask-v23.hc if ENSC_HAVE_C99_COMPILER lib_v13_SRCS += lib/syscall_adddlimit-v13.hc \ @@ -254,6 +255,10 @@ endif lib_libvserver_la_SOURCES = $(lib_SRCS) lib_libvserver_la_CPPFLAGS = $(AM_CPPFLAGS) $(LIB_DEBUG_CPPFLAGS) lib_libvserver_la_LDFLAGS = -version $(lib_VERSION) +if HAVE_VERSIONING +lib_libvserver_la_LDFLAGS += -Wl,-version-script=$(top_srcdir)/lib/libvserver.ver +EXTRA_DIST += lib/libvserver.ver +endif lib_libvserver_a_SOURCES = $(lib_SRCS) lib_libvserver_a_CPPFLAGS = $(AM_CPPFLAGS) $(LIB_DEBUG_CPPFLAGS)