Print this page
lib: move compat links from targetdirs to proper makefiles

@@ -20,12 +20,10 @@
 #
 #
 # Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-# ident "%Z%%M% %I%     %E% SMI"
-#
 
 LIBRARY=        libmp.a
 VERS=           .2
 
 OBJECTS= gcd.o madd.o mdiv.o mout.o msqrt.o mult.o pow.o util.o

@@ -34,10 +32,13 @@
 include ../../Makefile.lib
 
 # install this library in the root filesystem
 include ../../Makefile.rootfs
 
+COMPATLINKS += /usr/lib/libmp.so.1
+$(ROOT)/usr/lib/libmp.so.1 := COMPATLINKTARGET=../../lib/libmp.so.1
+
 SRCDIR =        ../common
 
 OMAPFILE =      ../common/mapfile_1-vers
 
 LIBS =          $(DYNLIB)