* [gentoo-commits] gentoo-x86 commit in dev-libs/cvector/files: 1.0.3-dynlib.patch
@ 2010-03-07 18:30 Justin Lecher (jlec)
0 siblings, 0 replies; 2+ messages in thread
From: Justin Lecher (jlec) @ 2010-03-07 18:30 UTC (permalink / raw
To: gentoo-commits
jlec 10/03/07 18:30:51
Added: 1.0.3-dynlib.patch
Log:
building shared libs now
(Portage version: 2.2_rc65/cvs/Linux x86_64)
Revision Changes Path
1.1 dev-libs/cvector/files/1.0.3-dynlib.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/cvector/files/1.0.3-dynlib.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/cvector/files/1.0.3-dynlib.patch?rev=1.1&content-type=text/plain
Index: 1.0.3-dynlib.patch
===================================================================
diff --git a/Makefile b/Makefile
index 865db81..227376c 100644
--- a/Makefile
+++ b/Makefile
@@ -96,8 +96,8 @@ BUILD_COMMAND_STATIC = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -static -I $(IN
INSTALL_COMMAND = $(LIBTOOL) --mode=install cp
INSTALL_FINISH_COMMAND = $(LIBTOOL) --mode=finish
-OBJ_EXT = lo
-LIB_EXT = la
+OBJ_EXT = o
+LIB_EXT = so
######################################################################
# You should not need to make modifications below this line #
@@ -181,8 +181,7 @@ default:
# Compile the library and examples
#
all: $(LIB) $(BIN) $(SOURCE) $(HEADERS) \
- $(LIB)/libCVector.$(LIB_EXT) \
- $(BIN)/CVectorBasicTest
+ $(LIB)/libCVector.$(LIB_EXT)
install: all $(INSTALL_PREFIX) $(INSTALL_PREFIX)/lib $(INSTALL_PREFIX)/include \
$(INC) $(LIB)/libCVector.$(LIB_EXT) $(INC)/CVector.h
@@ -232,8 +231,8 @@ $(BIN):
# CVector library
#
$(LIB)/libCVector.$(LIB_EXT): $(SOURCE) $(HEADERS) $(COMMONDEP)
- $(COMPILE_COMMAND) -c $(SOURCE)
- $(LIBRARY_LINK_COMMAND) -o $(LIB)/libCVector.$(LIB_EXT) *.$(OBJ_EXT)
+ $(CC) $(CFLAGS) -fPIC -c $(SOURCE) -o CVector.o
+ $(CC) $(LDFLAGS) -Wl,--soname,libCVector.so.1 -shared -o libCVector.so.$(RELEASE) *.$(OBJ_EXT) -lm
#
# CVectorBasicTest example program
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] gentoo-x86 commit in dev-libs/cvector/files: 1.0.3-dynlib.patch
@ 2010-03-07 18:46 Justin Lecher (jlec)
0 siblings, 0 replies; 2+ messages in thread
From: Justin Lecher (jlec) @ 2010-03-07 18:46 UTC (permalink / raw
To: gentoo-commits
jlec 10/03/07 18:46:40
Modified: 1.0.3-dynlib.patch
Log:
include fix
(Portage version: 2.2_rc65/cvs/Linux x86_64)
Revision Changes Path
1.2 dev-libs/cvector/files/1.0.3-dynlib.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/cvector/files/1.0.3-dynlib.patch?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/cvector/files/1.0.3-dynlib.patch?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/cvector/files/1.0.3-dynlib.patch?r1=1.1&r2=1.2
Index: 1.0.3-dynlib.patch
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-libs/cvector/files/1.0.3-dynlib.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- 1.0.3-dynlib.patch 7 Mar 2010 18:30:51 -0000 1.1
+++ 1.0.3-dynlib.patch 7 Mar 2010 18:46:39 -0000 1.2
@@ -1,5 +1,5 @@
diff --git a/Makefile b/Makefile
-index 865db81..227376c 100644
+index 865db81..2691108 100644
--- a/Makefile
+++ b/Makefile
@@ -96,8 +96,8 @@ BUILD_COMMAND_STATIC = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -static -I $(IN
@@ -29,7 +29,7 @@
$(LIB)/libCVector.$(LIB_EXT): $(SOURCE) $(HEADERS) $(COMMONDEP)
- $(COMPILE_COMMAND) -c $(SOURCE)
- $(LIBRARY_LINK_COMMAND) -o $(LIB)/libCVector.$(LIB_EXT) *.$(OBJ_EXT)
-+ $(CC) $(CFLAGS) -fPIC -c $(SOURCE) -o CVector.o
++ $(CC) $(CFLAGS) -fPIC -c $(SOURCE) -o CVector.o -I.
+ $(CC) $(LDFLAGS) -Wl,--soname,libCVector.so.1 -shared -o libCVector.so.$(RELEASE) *.$(OBJ_EXT) -lm
#
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-03-07 18:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-07 18:30 [gentoo-commits] gentoo-x86 commit in dev-libs/cvector/files: 1.0.3-dynlib.patch Justin Lecher (jlec)
-- strict thread matches above, loose matches on Subject: below --
2010-03-07 18:46 Justin Lecher (jlec)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox