add missing WebKit framework (Cocoa) default tip

Thu, 06 Aug 2026 17:48:19 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Thu, 06 Aug 2026 17:48:19 +0200
changeset 1226
f38d354623be
parent 1225
973b587334c2

add missing WebKit framework (Cocoa)

configure file | annotate | diff | comparison | revisions
make/project.xml file | annotate | diff | comparison | revisions
ui/cocoa/objs.mk file | annotate | diff | comparison | revisions
--- a/configure	Thu Aug 06 17:34:00 2026 +0200
+++ b/configure	Thu Aug 06 17:48:19 2026 +0200
@@ -584,7 +584,7 @@
             break
         fi
         TEMP_CFLAGS="$TEMP_CFLAGS -DUI_COCOA"
-        TEMP_LDFLAGS="$TEMP_LDFLAGS -lobjc -framework Cocoa"
+        TEMP_LDFLAGS="$TEMP_LDFLAGS -lobjc -framework Cocoa -framework WebKit"
         print_check_msg "$dep_checked_cocoa" "yes\n"
         dep_checked_cocoa=1
         return 1
--- a/make/project.xml	Thu Aug 06 17:34:00 2026 +0200
+++ b/make/project.xml	Thu Aug 06 17:48:19 2026 +0200
@@ -60,7 +60,7 @@
 	
 	<dependency name="cocoa" platform="macos">
 		<cflags>-DUI_COCOA</cflags>
-		<ldflags>-lobjc -framework Cocoa</ldflags>
+		<ldflags>-lobjc -framework Cocoa -framework WebKit</ldflags>
 	</dependency>
 	
 	<dependency name="motif" platform="bsd">
--- a/ui/cocoa/objs.mk	Thu Aug 06 17:34:00 2026 +0200
+++ b/ui/cocoa/objs.mk	Thu Aug 06 17:48:19 2026 +0200
@@ -52,6 +52,7 @@
 COCOAOBJ += entry.o
 COCOAOBJ += TabView.o
 COCOAOBJ += action.o
+COCOAOBJ += webview.o
 
 TOOLKITOBJS += $(COCOAOBJ:%=$(COCOA_OBJPRE)%)
 TOOLKITSOURCE += $(COCOAOBJ:%.o=cocoa/%.m)

mercurial