Added a makefile target to build the versioned .so if the unversioned name is given.
Added DESTDIR to an ldconf line that was missint it.pull/90/head
parent
f84b3964ee
commit
09d194d8cf
|
|
@ -418,7 +418,7 @@ else
|
|||
ifeq ($(HAS_SOLIB_VERSION),1)
|
||||
-$(RM) $(DESTDIR)$(PREFIX)/lib/libcryptopp.so$(SOLIB_COMPAT_SUFFIX)
|
||||
-$(RM) $(DESTDIR)$(PREFIX)/lib/libcryptopp.so
|
||||
$(LDCONF) $(PREFIX)/lib
|
||||
$(LDCONF) $(DESTDIR)$(PREFIX)/lib
|
||||
endif
|
||||
endif
|
||||
|
||||
|
|
@ -426,6 +426,9 @@ libcryptopp.a: public_service | $(LIBOBJS)
|
|||
$(AR) $(ARFLAGS) $@ $(LIBOBJS)
|
||||
$(RANLIB) $@
|
||||
|
||||
.PHONY: libcryptopp.so
|
||||
libcryptopp.so: libcryptopp$(SOLIB_VERSION_SUFFIX)
|
||||
|
||||
libcryptopp.so$(SOLIB_VERSION_SUFFIX): public_service | $(LIBOBJS)
|
||||
$(CXX) -shared $(SOLIB_FLAGS) -o $@ $(CXXFLAGS) $(GOLD_OPTION) $(LIBOBJS) $(LDLIBS)
|
||||
ifeq ($(HAS_SOLIB_VERSION),1)
|
||||
|
|
|
|||
Loading…
Reference in New Issue