Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make install does not copy osdp_export.h when using make build #201

Open
bricktsre opened this issue Oct 31, 2024 · 0 comments
Open

Make install does not copy osdp_export.h when using make build #201

bricktsre opened this issue Oct 31, 2024 · 0 comments

Comments

@bricktsre
Copy link

bricktsre commented Oct 31, 2024

Describe the bug
I am cross compiling libosdp for an embedded system and have to use the make build system. The steps I am following are

  1. ./configure.sh --prefix .../libosdp/built --cross-compile ....
  2. make
  3. make install

Expected behavior
I expect make install to fully install the application including headers to the provided prefix location.

Observed behavior
osdp_export.h does not get copied to the install location. This is because configure.sh writes osdp_export.h to ${BUILD_DIR}/include/osdp_export.h but the makefile tries to copy it from $(O)/osdp_export.h with $O being defined as O ?= $(BUILD_DIR).

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

No branches or pull requests

1 participant