From d77711da7b90d69eb975e1ae702f71be94204a33 Mon Sep 17 00:00:00 2001 From: GruelingPine185 <66073333+GruelingPine185@users.noreply.github.com> Date: Fri, 23 Sep 2022 18:22:20 -0400 Subject: [PATCH] build library --- source/makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/makefile b/source/makefile index 8276fae..e3287e5 100644 --- a/source/makefile +++ b/source/makefile @@ -21,6 +21,9 @@ else ifeq ($(shell uname),Linux) else ifeq ($(OS),Windows_NT) LIBLINE =-Wl,--out-implib=../$(TOY_OUTDIR)/lib$(OUTNAME).dll.a -Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--whole-archive $(OBJ) -Wl,--no-whole-archive OUT=../$(TOY_OUTDIR)/$(OUTNAME).dll +else ifeq ($(shell uname),Darwin) + LIBLINE = $(OBJ) + OUT=../$(TOY_OUTDIR)/lib$(OUTNAME).dylib else @echo "Platform test failed - what platform is this?" exit 1