bkaradzic / GENie

GENie - Project generator tool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`SharedLib` projects always target `.dylib` files when generating makefiles on Mac.

KageKirin opened this issue · comments

Hi,

this is a bug I've run into yesterday.
Line causing this is here, line 517:

GENie/src/base/project.lua

Lines 508 to 521 in 8238251

elseif namestyle == "posix" then
if kind == "WindowedApp" and system == "macosx" and not cfg.options.SkipBundling then
bundlename = name .. ".app"
bundlepath = path.join(dir, bundlename)
dir = path.join(bundlepath, "Contents/MacOS")
elseif (kind == "ConsoleApp" or kind == "WindowedApp") and system == "os2" then
ext = ".exe"
elseif kind == "SharedLib" then
prefix = "lib"
ext = iif(system == "macosx", ".dylib", ".so")
elseif kind == "StaticLib" then
prefix = "lib"
ext = ".a"
end

Cheers.