Bug 270593

Summary: acquireimages fail to link on amd64, same as fixed #269903
Product: [Frameworks and Libraries] libksane Reporter: Francesco Riosa <vivo75+kde>
Component: generalAssignee: imaging-bugs-null
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles, guillom.pom
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In: 2.0.0

Description Francesco Riosa 2011-04-10 14:56:09 UTC
Version:           unspecified (using Devel) 
OS:                Linux

same as Bug #269903 but for acquireimages

put into extra/kipi-plugins/acquireimages/CMakeLists.txt
the following lines:

# Adjust flag for static lib and 64 bits computers using -fPIC for GCC compiler (B.K.O: #269903 AND #??????)
FOREACH(_currentfile ${acquireimages_common_SRCS})
    IF(NOT MSVC)
        SET_SOURCE_FILES_PROPERTIES(${_currentfile} PROPERTIES COMPILE_FLAGS "-fPIC")
    ENDIF(NOT MSVC)
ENDFOREACH(_currentfile ${acquireimages_common_SRCS})






Reproducible: Always

Steps to Reproduce:
just build, external environment is openSuse with kde 4.6.2
Comment 1 caulier.gilles 2011-04-10 15:25:17 UTC
*** Bug 270573 has been marked as a duplicate of this bug. ***
Comment 2 caulier.gilles 2011-04-10 15:27:28 UTC
Git commit fea4f8316d22ca70e5f517234a5be2ec2d9688ef by Gilles Caulier.
Committed on 10/04/2011 at 15:31.
Pushed by cgilles into branch 'master'.

compile under 64bits computer with GCC
BUGS: 270593

M  +7    -0    acquireimages/CMakeLists.txt     

http://commits.kde.org/kipi-plugins/fea4f8316d22ca70e5f517234a5be2ec2d9688ef