Bug 231805 - cflags with -lcrypto is not correct in spec file, should be in ldflags
Summary: cflags with -lcrypto is not correct in spec file, should be in ldflags
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: net-snmp   
(Show other bugs)
Version: 5
Hardware: All
OS: Linux
medium
low
Target Milestone: ---
Assignee: Radek Vokal
QA Contact:
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-03-12 06:18 UTC by Mark Atwood
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Fixed In Version: 5.4-13
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-03-12 15:14:42 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

Description Mark Atwood 2007-03-12 06:18:11 UTC
Description of problem:

In the net-snmp.spec file, there is %configure --with-cflags="$RPM_OPT_FLAGS
-lcrypto".  Having -lcrypto be part of cflags puts -lcrypto on the output of 
"net-snmp-config --base-cflags", which causes an annoying little compile warning
while developing and compiling a snmp subagent.

The "-lcrypto" should be in the next line of the .spec file, in "--with-ldflags"
 -l is a linker option, not a compiler option.


Version-Release number of selected component (if applicable):

5.3-4.2

How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Radek Vokal 2007-03-12 15:14:42 UTC
Package rebuilt with correct flags.


Note You need to log in before you can comment on or make changes to this bug.