~jamesodhunt/ubuntu/precise/libnih/multiarch

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: James Hunt
  • Date: 2011-10-20 17:46:19 UTC
  • Revision ID: james.hunt@ubuntu.com-20111020174619-8w8p8p3ljxijss8m
Multiarch convertion - temporary commit.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
CFLAGS := -Wall -fstack-protector -fPIE $(shell dpkg-buildflags --get CFLAGS)
7
7
LDFLAGS := -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -pie $(shell dpkg-buildflags --get LDFLAGS)
8
8
 
 
9
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
10
 
9
11
override_dh_auto_configure:
10
12
        dh_auto_configure -- CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" \
11
 
                --libdir=/lib
 
13
                --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH)
12
14
 
13
15
override_dh_makeshlibs:
14
16
        dh_makeshlibs -plibnih1 -V 'libnih1 (>= 1.0.0)'