drop shlibdir
I know of no other build systems that have separate paths for static vs shared libraries, so this changes ours to use libdir for all libraries.
This commit is contained in:
parent
1878a74a12
commit
5058b6668c
@ -52,13 +52,12 @@ ${SHLIB_NAME}: ${SOBJS}
|
||||
${SOBJS} ${LDADD}
|
||||
|
||||
install: all
|
||||
ifeq (${MKSTATICLIBS},yes)
|
||||
${INSTALL} -d ${DESTDIR}${LIBDIR}
|
||||
ifeq (${MKSTATICLIBS},yes)
|
||||
${INSTALL} -m ${LIBMODE} lib${LIB}.a ${DESTDIR}${LIBDIR}
|
||||
endif
|
||||
${INSTALL} -d ${DESTDIR}${SHLIBDIR}
|
||||
${INSTALL} -m ${LIBMODE} ${SHLIB_NAME} ${DESTDIR}${SHLIBDIR}
|
||||
ln -fs ${SHLIB_NAME} ${DESTDIR}${SHLIBDIR}/${SHLIB_LINK}
|
||||
${INSTALL} -m ${LIBMODE} ${SHLIB_NAME} ${DESTDIR}${LIBDIR}
|
||||
ln -fs ${SHLIB_NAME} ${DESTDIR}${LIBDIR}/${SHLIB_LINK}
|
||||
${INSTALL} -d ${DESTDIR}${INCDIR}
|
||||
for x in ${INCS}; do ${INSTALL} -m ${INCMODE} $$x ${DESTDIR}${INCDIR}; done
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user