X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2FMakefile-files;h=b42adcee79297afd644e5602036a357bfc77362c;hb=0f3b41570794aaf1260d8db23fe20871a031b92a;hp=28ea6ab428e6436ae920fd162e84545bd29c6a85;hpb=c6b3f09b232307f6aa791fb44deb2937d0578a12;p=util-vserver.git diff --git a/lib/Makefile-files b/lib/Makefile-files index 28ea6ab..b42adce 100644 --- a/lib/Makefile-files +++ b/lib/Makefile-files @@ -157,7 +157,9 @@ lib_v23_SRCS = lib/syscall_tagmigrate-v23.hc \ lib/syscall_getbadness.c \ lib/syscall_getbadness-v23.hc \ lib/syscall_setbadness.c \ - lib/syscall_setbadness-v23.hc + lib/syscall_setbadness-v23.hc \ + lib/syscall_getspacedefault.c \ + lib/syscall_getspacedefault-v23.hc if ENSC_HAVE_C99_COMPILER lib_v13_SRCS += lib/syscall_adddlimit-v13.hc \ @@ -250,6 +252,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)