mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-17 19:05:31 +08:00
Link CBuildConfig and CVersion into static library blackconfig
CBuildConfig including private keys etc. should not be part of a public library API. Therefore link it into a static library, which is not available to end users. refs #645
This commit is contained in:
@@ -83,3 +83,9 @@ blackmisc {
|
||||
LIBS *= -lShell32
|
||||
}
|
||||
}
|
||||
|
||||
blackconfig {
|
||||
win32-msvc*: PRE_TARGETDEPS += $$DestRoot/lib/blackconfig.lib
|
||||
else: PRE_TARGETDEPS += $$DestRoot/lib/libblackconfig.a
|
||||
LIBS *= -lblackconfig
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user