ngn/k
19
63
Fork
You've already forked k
17

shared library does not need _start symbol & has no main #36

Merged
ngn merged 1 commit from sterni/ngn-k:no-_start-shared into master 2022年11月28日 19:01:08 +01:00
Contributor
Copy link

This fixes a compilation error for FreeBSD because due to -Werror, the
missing main symbol (due to -Dshared) would break the build of
libk.so.

Note that I've only tested cross compilation to FreeBSD, not execution.

In principle the equivalent change should aslo be testable for anything that uses libk.so on Linux, but I don't have such an application on hand.

This fixes a compilation error for FreeBSD because due to -Werror, the missing `main` symbol (due to `-Dshared`) would break the build of `libk.so`. Note that I've only tested cross compilation to FreeBSD, not execution. In principle the equivalent change should aslo be testable for anything that uses libk.so on Linux, but I don't have such an application on hand.
This fixes a compilation error for FreeBSD because due to -Werror, the
missing `main` symbol (due to `-Dshared`) would break the build of
`libk.so`.
sterni deleted branch no-_start-shared 2024年12月30日 19:21:56 +01:00
Sign in to join this conversation.
No reviewers
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ngn/k!36
Reference in a new issue
ngn/k
No description provided.
Delete branch "sterni/ngn-k:no-_start-shared"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?