mirror of https://github.com/vitalif/e2fsprogs
debian: don't bomb out if DEB_BUILD_OPTIONS contains nostrip
The debugging packages will contain no debugging symbols (since they are in the unstripped executables and libraries) but at least the build won't crash. Addresses-Debian-Bug: #627535 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>bitmap-optimize
parent
8a0ef9edfa
commit
20d7949583
|
@ -499,6 +499,7 @@ ifneq ($(UTIL_LINUX_NG),yes)
|
||||||
rm -rf ${uuidudebdir}/usr
|
rm -rf ${uuidudebdir}/usr
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
|
||||||
mkdir -p ${debugdir}/$(USRLIB)
|
mkdir -p ${debugdir}/$(USRLIB)
|
||||||
mv ${maindir}/usr/lib/debug ${debugdir}/$(USRLIB)
|
mv ${maindir}/usr/lib/debug ${debugdir}/$(USRLIB)
|
||||||
rm -rf ${maindir}/usr/lib/debug
|
rm -rf ${maindir}/usr/lib/debug
|
||||||
|
@ -532,6 +533,7 @@ ifneq ($(UTIL_LINUX_NG),yes)
|
||||||
mkdir -p ${libblkiddbgdir}/$(USRLIB)
|
mkdir -p ${libblkiddbgdir}/$(USRLIB)
|
||||||
mv ${libblkiddir}/usr/lib/debug ${libblkiddbgdir}/$(USRLIB)
|
mv ${libblkiddir}/usr/lib/debug ${libblkiddbgdir}/$(USRLIB)
|
||||||
rmdir ${libblkiddir}/usr/lib
|
rmdir ${libblkiddir}/usr/lib
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# dpkg symbol handling
|
# dpkg symbol handling
|
||||||
|
|
Loading…
Reference in New Issue