Bugzilla will be upgraded to version 5.0 on December 2, 2018. The outage period for the upgrade will start at 0:00 UTC and have a duration of 12 hours
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
Product: Fedora
Classification: Fedora
Component: net-snmp (Show other bugs)
All Linux
medium Severity low
: ---
: ---
Assigned To: Radek Vokal
Depends On:
  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:
Last Closed: 2007-03-12 11:14:42 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

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):


How reproducible:

Steps to Reproduce:
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.