Details
Description
Declaring a DynamicLibrary with Depends
{name: "cpp"}and name: "something/with/slashs" and let another product depend on it confused the linking parameters.
Example:
/usr/bin/clang++ -m64 -g -Wall -Wextra -shared -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-soname=sql.so -v /home/ablu/mana/manaserv-build/qtc_Desktop-debug/.obj/mana/persitence/sql/SqlStorage.cpp.o -o /home/ablu/mana/manaserv-build/qtc_Desktop-debug/libmana/persitence/sql.so -Wl,-rpath,$ORIGIN,-rpath,/usr/lib64 -L/usr/lib64 -l/home/ablu/mana/manaserv-build/qtc_Desktop-debug/.socopy/libmana/entities.so -lQt5Core -lQt5Sql -Wl,--unresolved-symbols=ignore-in-shared-libs
The -l/path/to/lib is not working.
I am not sure whether slashes in names are a supported use case. But maybe it would make sense to sanitize the names before using them. (or at least refuse to work with them).