$OpenBSD: patch-plugins_Makefile_plugin_mk,v 1.8 2016/06/21 12:38:07 ajacoutot Exp $

drop -nostdlib: shotwell-publishing.so: undefined symbol '__guard_local'

--- plugins/Makefile.plugin.mk.orig	Mon Jun 20 20:50:50 2016
+++ plugins/Makefile.plugin.mk	Tue Jun 21 14:28:59 2016
@@ -32,7 +32,7 @@ CFILES := $(notdir $(SRC_FILES:.vala=.c))
 OFILES := $(notdir $(SRC_FILES:.vala=.o))
 
 CFLAGS := $(shell pkg-config --print-errors --cflags $(EXT_PKGS) $(PLUGIN_PKGS)) \
-	-nostdlib -export-dynamic $(PLUGIN_CFLAGS)
+	-export-dynamic $(PLUGIN_CFLAGS)
 LIBS := $(shell pkg-config --print-errors --libs $(EXT_PKGS) $(PLUGIN_PKGS))
 DEFINES := -D_VERSION='"$(PLUGINS_VERSION)"' -DGETTEXT_PACKAGE='"shotwell"'
 
