Skip to content

Commit 0903263

Browse files
committed
[build] more win stuff
1 parent e94750a commit 0903263

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

src/Makefile.am

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -572,9 +572,9 @@ PLUGIN_SRCS = \
572572
file_vtab.cc
573573

574574
if HAVE_WINDRES
575-
WIN_SRCS = lnavres.o
575+
WIN_OBJS = lnavres.$(OBJEXT)
576576
else
577-
WIN_SRCS =
577+
WIN_OBJS =
578578
endif
579579

580580
lnav_SOURCES = \
@@ -584,7 +584,7 @@ lnav_SOURCES = \
584584
lnav.management_cli.cc \
585585
$(PLUGIN_SRCS)
586586

587-
lnav_LDADD = $(WIN_SRCS)
587+
lnav_LDADD = $(WIN_OBJS) $(LDADD)
588588

589589
lnav_test_SOURCES = \
590590
lnav.cc \
@@ -607,6 +607,8 @@ RE2C_FILES = data_scanner_re.cc log_level_re.cc
607607
endif
608608

609609
EXTRA_DIST = \
610+
lnav.ico \
611+
lnavres.rc \
610612
third-party/prqlc-c/Cargo.lock \
611613
third-party/prqlc-c/Cargo.toml \
612614
third-party/prqlc-c/cbindgen.toml \
File renamed without changes.

src/lnavres.rc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#include <windows.h>
2-
#include "resource.h"
32

43
// Application Icon
54
IDI_ICON1 ICON "lnav.ico"

0 commit comments

Comments
 (0)