diff Makefile.am @ 267:09c5bd74fe93

win32: make builds work again
author Paper <paper@paper.us.eu.org>
date Thu, 11 Apr 2024 23:39:18 -0400
parents 9a04802848c0
children ec0a2b5493f8 657fda1b9cac
line wrap: on
line diff
--- a/Makefile.am	Thu Apr 11 22:05:41 2024 -0400
+++ b/Makefile.am	Thu Apr 11 23:39:18 2024 -0400
@@ -99,7 +99,7 @@
 ldflags_win = -mwindows
 
 # Add dark stylesheet to resources
-qtrc_win = $(top_srcdir)/rc/win32/dark/dark.qrc
+minori_qtrc_win = $(top_srcdir)/rc/sys/win32/dark/dark.qrc
 
 if BUILD_WINDRES
 
@@ -232,6 +232,7 @@
 	$(files_windres)	\
 	$(minori_locale_ts)	\
 	$(minori_qtrc)	\
+	$(minori_qtrc_win)	\
 	$(minori_locale_qm)	\
 	$(minori_moc_sources)	\
 	$(minori_utf8proc_sources)	\
@@ -257,8 +258,8 @@
 
 # Build only one qrc, otherwise we get a ton of
 # weird linking errors
-rc/final_qrc.cc: $(minori_qtrc)
-	$(QT_RCC) -o $@ $(minori_qtrc)
+rc/final_qrc.cc: $(minori_qtrc) $(minori_qtrc_win)
+	$(QT_RCC) -o $@ $(minori_qtrc) $(minori_qtrc_win)
 
 .h_moc.cc:
 	$(MKDIR_P) -- $$(dirname $@)