Bug 231805 - cflags with -lcrypto is not correct in spec file, should be in ldflags
cflags with -lcrypto is not correct in spec file, should be in ldflags
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: net-snmp (Show other bugs)
5
All Linux
medium Severity low
: ---
: ---
Assigned To: Radek Vokal
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-03-12 02:18 EDT by Mark Atwood
Modified: 2007-11-30 17:11 EST (History)
1 user (show)

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


Attachments (Terms of Use)

  None (edit)
Description Mark Atwood 2007-03-12 02:18:11 EDT
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 11:14:42 EDT
Package rebuilt with correct flags.

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