Add our version maps back
This commit is contained in:
parent
2b54426bd3
commit
62ef80e7f8
1
src/.gitignore
vendored
1
src/.gitignore
vendored
@ -3,6 +3,7 @@ rc
|
||||
*.[oa]
|
||||
*.lo
|
||||
*.so
|
||||
*.So
|
||||
*.so.*
|
||||
version.h
|
||||
|
||||
|
@ -30,11 +30,15 @@ INCMODE?= 0444
|
||||
|
||||
all: ${_LIBS}
|
||||
|
||||
|
||||
|
||||
lib${LIB}.a: ${OBJS} ${STATICOBJS}
|
||||
@${ECHO} building static library $@
|
||||
${AR} rc $@ $^
|
||||
${RANLIB} $@
|
||||
|
||||
${SHLIB_NAME}: ${VERSION_MAP}
|
||||
LDFLAGS+= -Wl,--version-script=${VERSION_MAP}
|
||||
|
||||
${SHLIB_NAME}: ${SOBJS}
|
||||
@${ECHO} building shared library $@
|
||||
|
@ -5,10 +5,10 @@ LIB= einfo
|
||||
SHLIB_MAJOR= 1
|
||||
SRCS= libeinfo.c
|
||||
INCS= einfo.h
|
||||
VERSION_MAP= einfo.map
|
||||
|
||||
SHLIBDIR= /${LIBNAME}
|
||||
|
||||
include $(TOPDIR)/cc.mk
|
||||
include $(TOPDIR)/lib.mk
|
||||
include $(TOPDIR)/$(TERMCAP).mk
|
||||
|
||||
|
@ -5,6 +5,7 @@ LIB= rc
|
||||
SHLIB_MAJOR= 1
|
||||
SRCS= librc.c librc-daemon.c librc-depend.c librc-misc.c librc-strlist.c
|
||||
INCS= rc.h
|
||||
VERSION_MAP= rc.map
|
||||
|
||||
CPPFLAGS+= -DLIB=\"${LIBNAME}\"
|
||||
LDADD+= ${LIBKVM}
|
||||
|
Loading…
Reference in New Issue
Block a user