~ubuntu-branches/debian/stretch/db1-compat/stretch

« back to all changes in this revision

Viewing changes to .pc/db_dump185.patch/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2011-04-04 16:08:28 UTC
  • Revision ID: james.westby@ubuntu.com-20110404160828-34loyji19ert9445
Tags: 2.1.3-14
Link with -lc rather than /usr/lib/libc.so, fixing build failure on
multiarch systems (LP: #749094).

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
libdb1.so$(libdb.so-version): $(patsubst %,%.os,$(libdb1-routines))
36
36
        $(CC) -Wl,-O1 -Wl,--version-script=Versions -Wl,-z,combreloc \
37
37
              -Wl,-soname=libdb.so$(libdb.so-version) \
38
 
              -shared -o $@ $^ /usr/lib/libc.so
 
38
              -shared -o $@ $^ -lc
39
39
 
40
40
clean:
41
41
        rm -f $(patsubst %,%.o,$(libdb1-routines))