]> git.pld-linux.org Git - packages/net-snmp.git/commitdiff
- link perl module with freshly built libs instead of using system libs
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Mon, 1 Aug 2011 17:22:29 +0000 (17:22 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    net-snmp.spec -> 1.183

net-snmp.spec

index 45d511167f7de3402f3020b94879adc2b31728d6..8a00a1bb82a8a6fc98159fc444b41f20ccc1e63d 100644 (file)
@@ -497,8 +497,9 @@ cd perl
 # avoid rpaths generated by MakeMaker
 perl -pi -e 's@LD_RUN_PATH="\$\(LD_RUN_PATH\)" @@' */Makefile */*/Makefile
 
+bd=$(cd ..; pwd)
 %{__make} \
-       LDFLAGS="%{rpmldflags}"
+       LDFLAGS="%{rpmldflags} -L$bd/snmplib/.libs/ -L$bd/agent/.libs/"
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.04594 seconds and 4 git commands to generate.