openap-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[openap-cvs] : openap-main/scripts mklibs,1.6,1.7


From: David Kimdon <address@hidden>
Subject: [openap-cvs] : openap-main/scripts mklibs,1.6,1.7
Date: Fri, 09 Aug 2002 16:28:42 -0400

Update of /cvsroot/openap/openap-main/scripts
In directory subversions:/tmp/cvs-serv21329

Modified Files:
        mklibs 
Log Message:
copy in dynamic linker when necessary

Index: mklibs
===================================================================
RCS file: /cvsroot/openap/openap-main/scripts/mklibs,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- mklibs      8 Aug 2002 17:08:38 -0000       1.6
+++ mklibs      9 Aug 2002 20:28:40 -0000       1.7
@@ -456,5 +456,14 @@
     debug(DEBUG_VERBOSE, "Moving %s to %s." % (lib, soname))
     os.rename(dest_path + "/" + lib, dest_path + "/" + soname)
 
+
 # Make the dynamic linker executable
-os.chmod(dest_path + "/" + ldlib, 0755)
+ld_file = find_lib(ldlib)
+ld_file_name = os.path.basename(ld_file)
+
+if not os.access(path + "/" + lib, os.F_OK):
+    command(target + "objcopy", "--strip-unneeded -R .note -R .comment",
+                ld_file, dest_path + "/" + ld_file_name)
+
+os.chmod(dest_path + "/" + ld_file_name, 0755)
+




reply via email to

[Prev in Thread] Current Thread [Next in Thread]