aboutsummaryrefslogtreecommitdiff
path: root/devel/ice/files/patch-cpp-test-Ice-objects-Makefile
blob: de44a26171c343f4d370a4f913e6362070171368 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
--- cpp.orig/test/Ice/objects/Makefile.orig	2016-04-05 23:00:02.156584966 +0200
+++ cpp/test/Ice/objects/Makefile	2016-04-05 23:44:31.611624964 +0200
@@ -12,9 +12,9 @@
 CLIENT		= $(call mktestname,client)
 SERVER		= $(call mktestname,server)
 COLLOCATED	= $(call mktestname,collocated)
-TESTLIBNAME	= libTestDerived.a
+TESTLIBNAME	= libTestDerived.so
 
-TARGETS		= $(CLIENT) $(SERVER) $(COLLOCATED)
+TARGETS		= $(CLIENT) $(SERVER) $(COLLOCATED) $(TESTLIBNAME)
 
 SLICE_OBJS	= Test.o \
 		  Derived.o \
@@ -47,11 +47,11 @@
 
 $(TESTLIBNAME): $(SLICE_OBJS)
 	rm -f $@	
-	$(call mklib,$@,$(SLICE_OBJS))
+	$(call mkshlib,$@,$(TESTLIBNAME),$(SLICE_OBJS),$(LIBS))
 
 $(CLIENT): $(COBJS) $(TESTLIBNAME)
 	rm -f $@
-	$(call mktest,$@,$(COBJS) -lTestDerived $(LIBS))
+	$(call mktest,$@,-lTestDerived $(COBJS) $(LIBS))
 
 $(SERVER): $(SOBJS)
 	rm -f $@