Small changes to test builds to be compatible with latest macOS and tools (#1078)

closes #1077 

Co-authored-by: Fennell, Scott P 263712616 <scott.p.fennell@nasa.gov>
This commit is contained in:
Scott Fennell 2020-11-16 22:56:56 -06:00 committed by GitHub
parent 895175c812
commit f04dcd7567
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 2 deletions

View File

@ -1,5 +1,6 @@
#ifndef TRICK_ICG
#include <Python.h>
#endif
#include <iostream>
#include <sstream>

View File

@ -9,6 +9,7 @@ PROGRAMMERS: ( (Keith Vetter) (Titan) (8-20-2002) )
#include "../include/sched.h"
#include "sim_services/UnitTest/include/trick_tests.h"
#include <stdio.h>
int sched_amf(
/* RETURN: -- Always return zero */

View File

@ -8,6 +8,7 @@ PROGRAMMERS: ( (Keith Vetter) (Titan) (8-20-2002) )
*******************************************************************************/
#include "../include/sched.h"
#include <unistd.h>
int sched_async (
/* RETURN: -- Always return zero */

View File

@ -32,7 +32,7 @@ endif
ifeq ($(TRICK_HOST_TYPE), Darwin)
CFLAGS += -DGTEST_HAS_TR1_TUPLE=0
MOTIF_INCDIR = -I/sw/include
XLIBS = -L/sw/lib -lXm -L/usr/X11R6/lib -L/usr/X11/lib -lXt -lX11
XLIBS = -L/sw/lib -lXm -L/usr/X11R6/lib -L/usr/X11/lib
SDK_DIR = $(shell xcrun --show-sdk-path)
INCDIRS += -I${SDK_DIR}/usr/include/libxml2
else