Skip to content

Commit 7babf86

Browse files
committed
python: Ensure that linking succeeds if the openssl path has been specified explicitly
1 parent ed29326 commit 7babf86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
if intree:
1818
netsnmp_libs = os.popen(basedir+'/net-snmp-config --libs').read()
1919
libdir = os.popen(basedir+'/net-snmp-config --build-lib-dirs '+basedir).read()
20-
incdir = os.popen(basedir+'/net-snmp-config --build-includes '+basedir).read()
20+
incdir = os.popen(basedir+'/net-snmp-config --build-includes '+basedir).read() + " " + os.popen(basedir+'/net-snmp-config --base-cflags '+basedir).read()
2121
libs = re.findall(r"-l(\S+)", netsnmp_libs)
2222
libdirs = re.findall(r"-L(\S+)", libdir)
2323
incdirs = re.findall(r"-I(\S+)", incdir)

0 commit comments

Comments
 (0)