mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
Fix build on amd64 (-fPIC for shared library objects)
This commit is contained in:
parent
e27f8f2cc7
commit
d78567433d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=103956
@ -1,12 +1,12 @@
|
||||
--- Makefile.orig Tue Sep 28 20:13:38 1999
|
||||
+++ Makefile Thu Oct 23 18:03:06 2003
|
||||
--- Makefile.orig Tue Sep 28 05:13:38 1999
|
||||
+++ Makefile Sat Mar 13 20:06:26 2004
|
||||
@@ -35,8 +35,8 @@
|
||||
# Linux
|
||||
SHARED=-shared
|
||||
|
||||
-CFLAGS= $(OPTIMIZER) $(PLUGIN_DEFINES) -I$(FLASH) -I/usr/X11R6/include
|
||||
-LDFLAGS= $(FLASH)/libflash.a $(LIBCXX) ../Jpeg/libjpeg.a ../Zlib/libz.a
|
||||
+CFLAGS+= $(OPTIMIZER) $(PLUGIN_DEFINES) -I$(FLASH) -I/usr/X11R6/include
|
||||
+CFLAGS+= $(OPTIMIZER) $(PLUGIN_DEFINES) -I$(FLASH) -I/usr/X11R6/include -fPIC
|
||||
+LDFLAGS= -L${LOCALBASE}/lib -lflash -ljpeg -lz -L$(X11BASE)/lib -lXt
|
||||
|
||||
SRC= plugin.c npunix.c
|
||||
|
Loading…
Reference in New Issue
Block a user