premake / premake/premake-core

"Links" with a custom extension on Windows.

Open
#1,024 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
3.6k
Forks
654
Avg merge
1d 1h
Merged PRs (30d)
13

Description

I am writing a premake script to build a plugin for a large project which uses .a for libs shipped with its SDK on Windows.

Is there an easy work around this problem? I see only .obj and .lib are checked, otherwise .lib is added and I end up with .a.lib mess.

Previously a similar issue was referenced in
https://github.com/premake/premake-core/issues/87

Thanks.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the Windows case described in the issue with a Premake script that links a library ending in .a. Trace how link-file extensions are recognized and when .lib is appended; done means the custom .a library remains usable without becoming .a.lib.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, lua
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.