$NetBSD: patch-deps_p1__iconv_rebar.config,v 1.3 2015/05/04 14:40:38 fhajny Exp $

Make sure LDFLAGS are included as well.
--- deps/p1_iconv/rebar.config.orig	2015-04-29 09:27:02.000000000 +0000
+++ deps/p1_iconv/rebar.config
@@ -1,7 +1,7 @@
 {erl_opts, [debug_info]}.
 
 {port_env, [{"CFLAGS", "-g -O2 -Wall -O2 -Wall"},
-	    {"LDFLAGS", "$ERL_LDFLAGS -liconv"}]}.
+	    {"LDFLAGS", "$LDFLAGS $ERL_LDFLAGS -liconv"}]}.
 
 {port_specs, [{"priv/lib/iconv.so", ["c_src/iconv.c"]}]}.
 
