]> granicus.if.org Git - ipset/commit
build: move ipset_errcode into library
authorJan Engelhardt <jengelh@medozas.de>
Sun, 28 Aug 2011 17:13:47 +0000 (19:13 +0200)
committerJan Engelhardt <jengelh@medozas.de>
Wed, 31 Aug 2011 20:29:38 +0000 (22:29 +0200)
commit5fccd38bbf4892718e58f0b006aa6724aec4f7f8
tree7e845a9740810ddc42e87d4b4d30c360f708f975
parent25eb53a35e262ff359188bf6b8d418909c18f982
build: move ipset_errcode into library

The library cannot stand on its own:

19:13 seven:../ipset/lib > ldd -r .libs/libipset.so.1
        linux-vdso.so.1 =>  (0x00007fff9a569000)
        libmnl.so.0 => /usr/lib64/libmnl.so.0 (0x00007fd42ae5c000)
        libc.so.6 => /lib64/libc.so.6 (0x00007fd42aaef000)
        /lib64/ld-linux-x86-64.so.2 (0x00007fd42b28d000)
undefined symbol: ipset_errcode (.libs/libipset.so.1)

Resolve this by moving ipset_errcode into the library.

Reported-by: Arkadiusz Miskiewicz <a.miskiewicz@gmail.com>
References: http://marc.info/?l=netfilter-devel&m=131435791514602&w=2
lib/Makefile.am
lib/errcode.c [moved from src/errcode.c with 100% similarity]
src/Makefile.am