cryptsetup: link /sbin/cryptsetup.static statically for real.

This commit is contained in:
Tilman Sauerbeck 2011-01-15 09:53:56 +01:00
parent a66e474156
commit 19a877f9e3
2 changed files with 6 additions and 5 deletions

View File

@ -4,6 +4,7 @@ drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/include/
-rw-r--r-- root/root usr/include/libcryptsetup.h
drwxr-xr-x root/root usr/lib/
-rw-r--r-- root/root usr/lib/libcryptsetup.a
-rwxr-xr-x root/root usr/lib/libcryptsetup.la
lrwxrwxrwx root/root usr/lib/libcryptsetup.so -> libcryptsetup.so.1.1.0
lrwxrwxrwx root/root usr/lib/libcryptsetup.so.1 -> libcryptsetup.so.1.1.0

View File

@ -5,7 +5,7 @@
name=cryptsetup
version=1.2.0
release=1
release=2
source=(http://$name.googlecode.com/files/$name-$version.tar.bz2)
build() {
@ -14,11 +14,11 @@ build() {
./configure \
--prefix=/usr \
--mandir=/usr/man \
--disable-nls
--disable-nls \
--enable-static-cryptsetup
make
make DESTDIR=$PKG install
./configure --prefix=/usr --enable-static
make
install -D -m 755 src/cryptsetup $PKG/sbin/cryptsetup.static
install -d $PKG/sbin
mv $PKG/{usr/sbin,sbin}/cryptsetup.static
}