mirror of
https://gitee.com/openharmony/third_party_libnl
synced 2024-12-18 00:16:46 +00:00
tools: Use LDADD and link against .la files instead of LDFLAGS and -llib
This commit is contained in:
parent
6d93b831dd
commit
109ea68ac0
@ -3,7 +3,13 @@
|
||||
SUBDIRS = lib
|
||||
|
||||
AM_CPPFLAGS = -Wall -I${top_srcdir}/include -I${top_builddir}/include -D_GNU_SOURCE -DSYSCONFDIR=\"$(sysconfdir)/libnl\"
|
||||
AM_LDFLAGS = -L${top_builddir}/lib -L${top_builddir}/src/lib -lnl-cli -lnl -lnl-nf -lnl-genl -lnl-route
|
||||
|
||||
LDADD = \
|
||||
${top_builddir}/src/lib/libnl-cli-3.la \
|
||||
${top_builddir}/lib/libnl-3.la \
|
||||
${top_builddir}/lib/libnl-nf-3.la \
|
||||
${top_builddir}/lib/libnl-genl-3.la \
|
||||
${top_builddir}/lib/libnl-route-3.la
|
||||
|
||||
sbin_PROGRAMS = \
|
||||
nl-qdisc-add nl-qdisc-list nl-qdisc-delete \
|
||||
|
Loading…
Reference in New Issue
Block a user