From abe3588e56850403f7ebaf3c9090552e5f4830c6 Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Mon, 19 Sep 2022 16:19:01 +0200 Subject: Exports: Simplify building - Remove subdir c - Do not compile c code as a separate shared library - Move all definitions/declarations into the preamble as they shouldn't be shared anyways. So no headers are needed - Define the callback as static, needed so we don't get a duplicate declaration --- exports/common.mk | 2 -- 1 file changed, 2 deletions(-) (limited to 'exports/common.mk') diff --git a/exports/common.mk b/exports/common.mk index 211d460..c1e2a7e 100644 --- a/exports/common.mk +++ b/exports/common.mk @@ -7,8 +7,6 @@ ifndef GOARCH export GOARCH := $(shell go env GOHOSTARCH) endif -CC = gcc - ifeq (windows,$(GOOS)) LIB_PREFIX ?= LIB_SUFFIX ?= .dll -- cgit v1.2.3