Avoid errors due to not having any files in "adv" library
Compile dummy.cpp as part of the library under Unix to avoid problems with some versions of ar refusing to create empty static libraries.
This commit is contained in:
@@ -3591,7 +3591,17 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
|
||||
</set>
|
||||
|
||||
<!-- wxAdvanced: empty, kept only for backwards compatibility -->
|
||||
<set var="ADVANCED_SRC" hints="files"/>
|
||||
<set var="ADVANCED_SRC" hints="files">
|
||||
<!-- When not using autoconf, it's part of wx_lib_b template. -->
|
||||
<if cond="FORMAT=='autoconf'">
|
||||
<!--
|
||||
But otherwise we need to compile at least a single file as
|
||||
part of the library, at least some versions of ar refuse to
|
||||
create an empty static library without any files, for example.
|
||||
-->
|
||||
src/common/dummy.cpp
|
||||
</if>
|
||||
</set>
|
||||
<set var="ADVANCED_HDR" hints="files"/>
|
||||
|
||||
<!-- wxMedia files: -->
|
||||
|
Reference in New Issue
Block a user