From 5c3f1f79d91ec02fcd1ee38cddf97001e95d0963 Mon Sep 17 00:00:00 2001 From: orbea Date: Thu, 11 Feb 2021 19:49:18 -0800 Subject: [PATCH] test --- hiro/GNUmakefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hiro/GNUmakefile b/hiro/GNUmakefile index 04837b27..2f2af68a 100755 --- a/hiro/GNUmakefile +++ b/hiro/GNUmakefile @@ -38,6 +38,9 @@ ifneq ($(filter $(platform),linux bsd),) ifeq ($(hiro),gtk2) hiro.flags = $(flags.cpp) -DHIRO_GTK=2 $(shell pkg-config --cflags gtk+-2.0 gtksourceview-2.0) hiro.options = -L/usr/local/lib -lX11 $(shell pkg-config --libs gtk+-2.0 gtksourceview-2.0) + ifeq ($(platform),bsd) + hiro.options += -lc++ + endif endif ifeq ($(hiro),gtk3) @@ -70,7 +73,7 @@ $(object.path)/hiro-$(hiro).o: $(hiro.path)/hiro.cpp $(if $(filter qt%,$(hiro)),$(info Compiling $(hiro.path)/qt/qt.moc ...)) $(if $(filter qt%,$(hiro)),@$(moc) -i -o $(hiro.path)/qt/qt.moc $(hiro.path)/qt/qt.hpp) $(info Compiling $< ...) - @$(compiler) $(hiro.flags) $(flags) $(flags.deps) -c $< -o $@ + @$(compiler) $(hiro.flags) $(flags) $(flags.deps) $(hiro.options) -c $< -o $@ $(object.path)/hiro-resource.o: $(hiro.resource) $(info Compiling $< ...)