From 228d6e19ef1216b739cc69854c7e9494a67cd8ae Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Sun, 3 May 2020 18:06:05 +0200 Subject: [PATCH] Add path to freetype2 and link library omp --- build-for-mac-os.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/build-for-mac-os.sh b/build-for-mac-os.sh index e5192b426..c123cb21e 100755 --- a/build-for-mac-os.sh +++ b/build-for-mac-os.sh @@ -23,7 +23,11 @@ --with-readline=yes \ --enable-openmp \ --disable-debug \ - --prefix=/Applications/ngspice + --prefix=/Applications/ngspice \ + CFLAGS="-O2 -I/opt/X11/include/freetype2" \ + LDFLAGS="-lomp" +# The last two lines may depend on the lib installations +# please check if there are any problems make -j4 make DESTDIR="$(pwd)/root-tree" install