blob: 36be293109ef60526a8bc6d2516615e50289d854 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/bin/sh
# This pile of horror converts the makefiles into expecting the -export
# version of the libraries.
set -e
cd build-udeb
for lib in dns irs isc isccc isccfg lwres; do
sed -i "s/lib${lib}\./lib${lib}-export./g" lib/${lib}/Makefile
done
sed -i 's/ -lisc -ldns -lisccfg$/ -lisc-export -ldns-export -lisccfg-export/' \
lib/irs/Makefile
patch -p0 < ../debian/export.diff
for lib in dns irs isc isccc isccfg lwres; do
sed -i 's/\(lib'${lib}'\).la/\1-export.la/g' $(find . -name Makefile)
done
|