From 8bbf4c3be9ba6589dc0f7e5bf072cf68a57107b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konstantin=20K=C3=A4fer?= Date: Tue, 3 Jan 2017 15:56:55 +0100 Subject: [build] add -fvisibility=hidden to macOS dynamic framework and export required symbols --- platform/darwin/src/MGLStyleLayer.h.ejs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'platform/darwin/src/MGLStyleLayer.h.ejs') diff --git a/platform/darwin/src/MGLStyleLayer.h.ejs b/platform/darwin/src/MGLStyleLayer.h.ejs index 3b576e766b..7d0f6922f4 100644 --- a/platform/darwin/src/MGLStyleLayer.h.ejs +++ b/platform/darwin/src/MGLStyleLayer.h.ejs @@ -8,6 +8,7 @@ // This file is generated. // Edit platform/darwin/scripts/generate-style-code.js, then run `make style-code-darwin`. +#import "MGLFoundation.h" #import "MGLStyleValue.h" #import "MGL<%- (type === 'background' ? '' : @@ -68,6 +69,7 @@ typedef NS_ENUM(NSUInteger, MGL<%- camelize(property.name) %>) { `-[MGLStyle layerWithIdentifier:]` method. */ <% } -%> +MGL_EXPORT @interface MGL<%- camelize(type) %>StyleLayer : MGL<%- (type === 'background' ? '' : (type === 'raster' ? 'Foreground' : -- cgit v1.2.1