Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:redwil:15.4
opennurbs
opennurbs_20121024-build-shared.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File opennurbs_20121024-build-shared.patch of Package opennurbs
diff -aruN opennurbs_20121024.orig/makefile opennurbs_20121024/makefile --- opennurbs_20121024.orig/makefile 2012-10-04 10:43:30.000000000 +0200 +++ opennurbs_20121024/makefile 2013-04-03 23:16:36.174509153 +0200 @@ -9,10 +9,10 @@ # asks too many questions, then uncomment the next line. # RM = /bin/rm -f -AR = ar qvl +AR = g++ -shared -Wl,-soname=libopenNURBS.so.0 -o # If your system doesn't use ranlib, uncomment the "echo" define. -RANLIB = ranlib +RANLIB = echo # RANLIB = echo ############################################################### @@ -33,14 +33,14 @@ # C compiler and flags CC = gcc -CFLAGS = $(ON_GNU_OPTIMIZER_FLAGS) -Wall -D_GNU_SOURCE -DMY_ZCALLOC -DZ_PREFIX -I. +CFLAGS = $(ON_GNU_OPTIMIZER_FLAGS) $(XFLAGS) -fPIC -Wall -D_GNU_SOURCE -I. # C++ compiler and flags CCC = g++ -CCFLAGS = $(ON_GNU_OPTIMIZER_FLAGS) -Wall -D_GNU_SOURCE -I. +CCFLAGS = $(ON_GNU_OPTIMIZER_FLAGS) $(XFLAGS) -fPIC -Wall -D_GNU_SOURCE -I. LINK = $(CCC) -LINKFLAGS = +LINKFLAGS = -lz ############################################################### # Irix 6.5 compiler (uncomment the lines in this block) @@ -89,7 +89,7 @@ ############################################################### OPENNURBS_LIB_NAME = openNURBS -OPENNURBS_LIB_FILE = lib$(OPENNURBS_LIB_NAME).a +OPENNURBS_LIB_FILE = lib$(OPENNURBS_LIB_NAME).so ON_INC= opennurbs.h \ opennurbs_3dm.h \
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor