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

linux invalid variable name #74

Open
zhubinsheng opened this issue Mar 21, 2023 · 6 comments
Open

linux invalid variable name #74

zhubinsheng opened this issue Mar 21, 2023 · 6 comments

Comments

@zhubinsheng
Copy link

No description provided.

@zhubinsheng
Copy link
Author

COMPONENT_SOURCES_DIR_VARIABLE=SOURCES_DIR_${COMPONENT}
if [[ -z "${!COMPONENT_SOURCES_DIR_VARIABLE}" ]]; then
export SOURCES_DIR_${COMPONENT}=${SOURCE_DIR_FOR_COMPONENT}
fi

@zhubinsheng
Copy link
Author

zhubinsheng commented Mar 21, 2023

i can not compile with fdk-aac

@Javernaut
Copy link
Owner

Javernaut commented Mar 21, 2023

Can't see any relevant details and a meaningful problem description. And most importantly - the politeness.
Try again.

@zhubinsheng
Copy link
Author

sorry i am poor English。

@zhubinsheng
Copy link
Author

1.i write two sh here, there is fdk-acc, but i can not use this name,
image
because this "/bin/sh" not support "-"

  1. i do not know how to link lib without PKG_CONFIG
    image

@Javernaut
Copy link
Owner

Here is a branch where the names of libraries are sanitized in order to export variables like 'fdk_aac' for 'fdk-aac' library. So you should be ok adding a 'libfdk-aac' as the flag and the directory with the exact same name.

As for the pkg-config thing, I didn't succeed in building the library on my brief attempt. If you can build it successfully, please do it on Github Actions, so I see all the logs.

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

2 participants