문제

I want to compile wpa_supplicant using another version of openssl then the one installed on the build system.

To do this, I set these settings in the .config file:

CFLAGS += -I/custom-openssl/include
LIBS += -L/custom-openssl/lib

However, it is still linking against the default installed openssl version.

도움이 되었습니까?

해결책 2

I also had to set LIBS_p. Everything else was fine.

다른 팁

Your -L directive will be added to the end of the list of libraries to look for .so files during linking.

Instead, either control which directory the loader should look in while loading the binary (which can be compiled into the binary) or change the list of libraries to search using the LD_LIBRARY_PATH environment variable.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top