Commit 640815cf authored by Andreas Tille's avatar Andreas Tille
Browse files

More sensible way to provide symbols amd64 only

parent 8809f692
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
libbpp-core (2.4.1-3) UNRELEASED; urgency=medium

  * More sensible way to provide symbols amd64 only

 -- Andreas Tille <tille@debian.org>  Tue, 04 Dec 2018 18:24:49 +0100

libbpp-core (2.4.1-2) unstable; urgency=medium

  [ Jelmer Vernooij ]
+0 −17
Original line number Diff line number Diff line
@@ -9,23 +9,6 @@ CMAKE_EXTRA_FLAGS += -DBUILD_TESTING=OFF
%:
	dh $@

override_dh_makeshlibs:
ifeq ($(DEB_BUILD_ARCH),amd64)
	echo "Architecture amd64 is the only one where a symbols file is provided"
else
	echo "Symbols file for architecture $(DEB_BUILD_ARCH) is not provided"
	mkdir -p debian/hidesymbols
	mv debian/*.symbols debian/hidesymbols
endif
	dh_makeshlibs
ifeq ($(DEB_BUILD_ARCH),amd64)
	echo "dh_makeshlibs for architecture amd64 including symbols done"
else
	# restore original debian/ dir to enable building twice in a row
	mv debian/hidesymbols/*.symbols debian
	rmdir debian/hidesymbols
endif

override_dh_install:
	dh_install
	d-shlibmove --commit \