From 67f683d0ac35019e76cdfac9cd71fe37b548c35d Mon Sep 17 00:00:00 2001 From: Hanzhou Shi Date: Tue, 9 May 2017 22:06:36 -0700 Subject: [PATCH] Adding generation of dyanmically linked lib. --- runtime/Swift/Package.swift | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/runtime/Swift/Package.swift b/runtime/Swift/Package.swift index a0c9a926d..5c2e28b12 100644 --- a/runtime/Swift/Package.swift +++ b/runtime/Swift/Package.swift @@ -7,3 +7,13 @@ import PackageDescription let package = Package( name: "Antlr4" ) + +products.append( + Product( + name: "Antlr4", + type: .Library(.Dynamic), + modules: [ + "Antlr4" + ] + ) +)