# New Ticket Created by  Leopold Toetsch 
# Please include the string:  [perl #18832]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt2/Ticket/Display.html?id=18832 >


Attached patch tries to append building libnci$(SO) to the test_prep 
target. I don't know the status of building (or trying to build) shared 
libs on different platforms, so I didn't check it in.
It needs definitely work to integrate libnci.def for msvc.

leo


-- attachment  1 ------------------------------------------------------
url: http://rt.perl.org/rt2/attach/43769/34810/44af1d/LEO.diff

--- parrot/config/gen/makefiles/root.in Tue Nov 26 08:17:48 2002
+++ parrot-leo/config/gen/makefiles/root.in     Tue Dec  3 10:45:10 2002
@@ -507,7 +507,7 @@
        $(PERL) t/harness $(EXTRA_TEST_ARGS) -g $(TEST_PROG_ARGS) quick
 
 # Common prep for all test targets
-test_prep : ${blib_lib_libparrot_a} assemble.pl
+test_prep : ${blib_lib_libparrot_a} assemble.pl libnci$(SO)
 
 test_dummy :
        $(PERL) t/harness $(EXTRA_TEST_ARGS) $(TEST_PROG_ARGS)
@@ -624,3 +624,8 @@
 
 miniparrot-update :
        tools/dev/rebuild_miniparrot.pl
+
+### libnci.so
+libnci$(SO): nci_test.c
+       $(LD) $(LD_SHARED) $(LD_SHARED_FLAGS) $(LDFLAGS) $(LD_OUT)libnci$(SO) \
+       nci_test.c

Reply via email to