packages: reglookup/reglookup-soname.patch (NEW)   - new
    adamg 
    adamg at pld-linux.org
       
    Mon Jun 20 22:36:56 CEST 2011
    
    
  
Author: adamg                        Date: Mon Jun 20 20:36:56 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new
---- Files affected:
packages/reglookup:
   reglookup-soname.patch (NONE -> 1.1)  (NEW)
---- Diffs:
================================================================
Index: packages/reglookup/reglookup-soname.patch
diff -u /dev/null packages/reglookup/reglookup-soname.patch:1.1
--- /dev/null	Mon Jun 20 22:36:56 2011
+++ packages/reglookup/reglookup-soname.patch	Mon Jun 20 22:36:50 2011
@@ -0,0 +1,19 @@
+--- reglookup-src-1.0.0/SConstruct~	2011-06-20 11:49:03.791401006 +0200
++++ reglookup-src-1.0.0/SConstruct	2011-06-20 18:55:09.830504636 +0200
+@@ -2,6 +2,7 @@
+ import os
+ sys.dont_write_bytecode = True
+ from regfi_version import REGFI_VERSION
++soname = 'libregfi.so.' + REGFI_VERSION
+ 
+ cflags = '-std=gnu99 -pedantic -Wall -D_FILE_OFFSET_BITS=64 -fvisibility=hidden'
+ cflags += ' -DREGFI_VERSION=\'"%s"\'' % REGFI_VERSION
+@@ -21,7 +22,7 @@
+ 
+ # Libraries
+ libregfi_static = env.Library(lib_src)
+-libregfi = env.SharedLibrary(lib_src, LIBS=['m','pthread', 'talloc'])
++libregfi = env.SharedLibrary(lib_src, LIBS=['m','pthread', 'talloc'], LINKFLAGS="-shared -fPIC -Wl,-soname," + soname)
+ 
+ 
+ # Executables
================================================================
    
    
More information about the pld-cvs-commit
mailing list