File debian.rules of Package libtorrent-rasterbar

#!/usr/bin/make -f

DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk

ifneq (,$(filter $(DEB_HOST_ARCH), armel mipsel m68k powerpc riscv64 sh4))
  export DEB_LDFLAGS_MAINT_APPEND += -Wl,--no-as-needed -latomic -Wl,--as-needed
endif

%:
	dh $@ -Scmake+ninja

override_dh_auto_configure:
	dh_auto_configure -- \
	-D deprecated-functions=OFF \
	-Dpython-bindings=ON -Dpython-egg-info=ON

override_dh_auto_build-arch:
	dh_auto_build -- \
	-d explain -d keepdepfile -d keeprsp

override_dh_auto_test:
override_dh_dwz:
openSUSE Build Service is sponsored by