summaryrefslogtreecommitdiff
blob: 5b9e5a810e3b93df2d2c9519194aee8e649ca844 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
diff -ur nspluginwrapper-1.2.2.orig/Makefile nspluginwrapper-1.2.2/Makefile
--- nspluginwrapper-1.2.2.orig/Makefile	2009-01-02 03:54:10.000000000 -0500
+++ nspluginwrapper-1.2.2/Makefile	2009-08-21 11:35:57.000000000 -0400
@@ -109,6 +109,7 @@
 npwrapper_CFLAGS  = $(CFLAGS) $(X_CFLAGS) $(MOZILLA_CFLAGS) $(GLIB_CFLAGS)
 npwrapper_LDFLAGS = $(X_LDFLAGS) $(libpthread_LDFLAGS) $(libsocket_LDFLAGS)
 npwrapper_LDFLAGS += $(GLIB_LDFLAGS)
+npwrapper_LDFLAGS += $(LDFLAGS)
 
 npviewer_PROGRAM = npviewer.bin
 npviewer_RAWSRCS = npw-viewer.c npw-common.c npw-malloc.c npw-rpc.c rpc.c debug.c utils.c npruntime.c
@@ -181,6 +182,7 @@
 # XXX use the ELF decoder for native plugins too?
 npconfig_LDFLAGS += $(libpthread_LDFLAGS)
 endif
+npconfig_LDFLAGS += $(LDFLAGS)
 
 nploader_PROGRAM = npviewer
 nploader_RAWSRCS = npw-viewer.sh