Skip to content

Set correct macro for static symbols#77

Merged
kpchoi merged 2 commits intoAcademySoftwareFoundation:mainfrom
BtbN:patch-1
May 9, 2025
Merged

Set correct macro for static symbols#77
kpchoi merged 2 commits intoAcademySoftwareFoundation:mainfrom
BtbN:patch-1

Conversation

@BtbN
Copy link
Contributor

@BtbN BtbN commented May 6, 2025

Not sure if I interpreted this correctly, but LIBSHARED_AND_STATIC_STATIC_DEFINE does not appear anywhere else in the codebase, but OAPV_STATIC_DEFINE is used instead.

This flag also needs to be set in the pkgconfig file for private Cflags. Plus, the static library is installed into a subdir of the libdir, so that needs to be set in there, too.

BtbN added 2 commits May 6, 2025 16:27
Signed-off-by: BtbN <timo@rothenpieler.org>
LIB_NAME was not defined, variable is named LIB_NAME_BASE.

Signed-off-by: BtbN <timo@rothenpieler.org>
@kpchoi kpchoi requested a review from dariusz-f May 7, 2025 23:36
Copy link
Collaborator

@dariusz-f dariusz-f left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@kpchoi kpchoi merged commit a430b13 into AcademySoftwareFoundation:main May 9, 2025
5 checks passed
@BtbN BtbN deleted the patch-1 branch May 9, 2025 16:46
alejandro-arango-epicgames pushed a commit to alejandro-arango-epicgames/openapv that referenced this pull request Sep 29, 2025
* Set correct macro for static symbols

Signed-off-by: BtbN <timo@rothenpieler.org>

* Improve oapv.pc for static linking

LIB_NAME was not defined, variable is named LIB_NAME_BASE.

Signed-off-by: BtbN <timo@rothenpieler.org>

---------

Signed-off-by: BtbN <timo@rothenpieler.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants