diff options
author | Memphiz <memphis@machzwo.de> | 2016-09-22 15:29:53 +0200 |
---|---|---|
committer | Memphiz <memphis@machzwo.de> | 2016-09-23 07:46:07 +0200 |
commit | 521840d789a5f36171ae8c08c16c665eeac07411 (patch) | |
tree | 2e19d4dcdce5b3baeec0608df2bb618ce6614f67 | |
parent | 82c90611e614619760606af1d49e893ba6892a5f (diff) |
[depends/samba] - samba ignores the get_clocktime autoconf flag - force it to not use get_clocktime on osx
-rw-r--r-- | tools/depends/target/samba-gplv3/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/depends/target/samba-gplv3/Makefile b/tools/depends/target/samba-gplv3/Makefile index 85ae924fa8..17a5224f2c 100644 --- a/tools/depends/target/samba-gplv3/Makefile +++ b/tools/depends/target/samba-gplv3/Makefile @@ -52,6 +52,9 @@ endif ifeq ($(TARGET_PLATFORM),appletvos) cd $(PLATFORM); patch -p0 < ../no_fork_and_exec.patch endif +ifeq ($(OS),osx) + sed -ie "s|ifndef HAVE_CLOCK_GETTIME|if !defined(HAVE_CLOCK_GETTIME) \&\& !defined(CLOCK_REALTIME)|" "$(PLATFORM)/lib/replace/system/time.h" +endif cd $(PLATFORM)/source3; $(CONFIGURE) $(LIBDYLIB): $(PLATFORM) |