File tree 1 file changed +10
-0
lines changed
1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -222,13 +222,23 @@ rm -f src/conftest.c src/method-link.c
222
222
cfiles=" src/method-link.c"
223
223
ofiles=" $BUILDTMP /method-link.o"
224
224
225
+ # HACK: create an empty inlined-icons.c so it is included in the source file list by configure
226
+ if test " $cfg_with_gui " == " yes" ; then
227
+ touch " src/inlined-icons.c"
228
+ fi
229
+
225
230
for cfile in src/* .c; do
226
231
cfile_prefix=` echo $cfile | sed -e ' s/\.c//' `
227
232
cfiles=" $cfiles $cfile "
228
233
ofiles=" $ofiles $BUILDTMP /$( basename $cfile_prefix .o) "
229
234
echo -n " $cfile_prefix "
230
235
done
231
236
237
+ # HACK: delete inlined-icons.c again so it is properly generated later
238
+ if test " $cfg_with_gui " == " yes" ; then
239
+ rm " src/inlined-icons.c"
240
+ fi
241
+
232
242
echo
233
243
echo -e " \nCFG_CFILES = $cfiles " >> Makefile.config
234
244
echo " CFG_OFILES = $ofiles " >> Makefile.config
You can’t perform that action at this time.
0 commit comments