Skip to content

Add make option for single libopencsd_c_api.so build#91

Open
sayhal01 wants to merge 1 commit into
Linaro:masterfrom
sayhal01:dscore-26527-ocsd-capi-single-so
Open

Add make option for single libopencsd_c_api.so build#91
sayhal01 wants to merge 1 commit into
Linaro:masterfrom
sayhal01:dscore-26527-ocsd-capi-single-so

Conversation

@sayhal01
Copy link
Copy Markdown

@sayhal01 sayhal01 commented Jun 1, 2026

build: add option to build a single libopencsd_c_api.so

Adds OCSD_CAPI_SINGLE_SO=1 for Unix Makefile builds to create a single
unversioned libopencsd_c_api.so with libopencsd.a statically linked
into the shared object.

This removes the runtime dependency on libopencsd.so and avoids the
versioned symlink chain in the build output.

The option is intended for packaging workflows that copy the generated
libopencsd_c_api.so directly from the build output.

Default Linux build/install behavior remains unchanged.

Signed-off-by: sayani.halder@arm.com

@sayhal01 sayhal01 force-pushed the dscore-26527-ocsd-capi-single-so branch 2 times, most recently from 06e334d to 710c55a Compare June 2, 2026 21:06
Adds OCSD_CAPI_SINGLE_SO=1 for Unix Makefile builds to create a single
unversioned libopencsd_c_api.so with libopencsd.a statically linked
into the shared object.

This removes the runtime dependency on libopencsd.so and avoids the
versioned symlink chain in the build output.

The option is intended for packaging workflows that copy the generated
libopencsd_c_api.so directly from the build output.

Default Linux build/install behavior remains unchanged.

Signed-off-by: Sayani Halder <sayani.halder@arm.com>
@sayhal01 sayhal01 force-pushed the dscore-26527-ocsd-capi-single-so branch from 710c55a to 8e7f7b4 Compare June 3, 2026 10:53
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.

1 participant