diff options
| author | Michael Forney <mforney@mforney.org> | 2016-06-02 23:22:04 -0700 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2016-06-02 23:22:04 -0700 |
| commit | 6f9398d60c250bea4abf35b6ee0e69fc6159bcd0 (patch) | |
| tree | 31aa97c0b061a1dadf96bdcc70f646f94ecf5eb4 | |
| parent | 8556dabe47af18d0761e7bed97b8b6a661abab23 (diff) | |
openbsd: Preserve directory structure for arc4random
| -rw-r--r-- | core/openbsd/gen.rc | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/core/openbsd/gen.rc b/core/openbsd/gen.rc index fc4d34a8..3b73c5f8 100644 --- a/core/openbsd/gen.rc +++ b/core/openbsd/gen.rc @@ -6,20 +6,19 @@ cflags\ # Link arc4random.c to '$outdir' so that it doesn't include the local # arc4random.h -build '$outdir'/crypt/arc4random.c copy '$srcdir'/lib/libc/crypt/arc4random.c -build '$outdir'/crypt/arc4random.h copy '$srcdir'/lib/libcrypto/crypto/arc4random_linux.h -build '$outdir'/crypt/chacha_private.h copy '$srcdir'/lib/libc/crypt/chacha_private.h -cc '$outdir'/crypt/arc4random.c '||' '$outdir'/crypt/^(arc4random.h chacha_private.h) +build '$outdir'/lib/libc/crypt/arc4random.c copy '$srcdir'/lib/libc/crypt/arc4random.c +build '$outdir'/lib/libc/crypt/arc4random.h copy '$srcdir'/lib/libcrypto/crypto/arc4random_linux.h +build '$outdir'/lib/libc/crypt/chacha_private.h copy '$srcdir'/lib/libc/crypt/chacha_private.h +cc '$outdir'/lib/libc/crypt/arc4random.c '||' '$outdir'/crypt/^(arc4random.h chacha_private.h) lib libbsd.a -d phony/core/libressl/headers\ lib/libc/^(\ - crypt/arc4random_uniform.c\ + crypt/^(arc4random.c.o arc4random_uniform.c)\ gen/^(fts.c vis.c)\ stdlib/^(reallocarray.c strtonum.c)\ string/^(explicit_bzero.c strmode.c timingsafe_memcmp.c)\ )\ - lib/libcrypto/crypto/getentropy_linux.c\ - crypt/arc4random.c.o + lib/libcrypto/crypto/getentropy_linux.c # pax exe pax bin/pax/*.c libbsd.a |
