Add before-compile to dependencies for librpc_compat_pic objects.

This commit is contained in:
Ulrich Drepper 2011-04-17 22:52:11 -04:00
parent 4c559bcdf3
commit 53cf59efd8
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2011-04-17 Ulrich Drepper <drepper@gmail.com>
* sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
dependencies.
2011-02-06 Mike Frysinger <vapier@gentoo.org>
[BZ #12653]

View File

@ -123,7 +123,7 @@ rpc-compat-routines.os = $(addprefix $(objpfx), \
subdir_lib: $(objpfx)librpc_compat_pic.a
$(objpfx)librpc_compat_pic.a: $(rpc-compat-routines.os)
$(AR) cr$(verbose) $@ $^
$(rpc-compat-routines.os): $(objpfx)compat-%.os: %.c
$(rpc-compat-routines.os): $(objpfx)compat-%.os: %.c $(before-compile)
$(compile-command.c) -DEXPORT_RPC_SYMBOLS
endif