Commits

Anonymous committed 5ea9ef5

#100000# set LD_LIBRARY_PATH for rmpbuild

  • Participants
  • Parent commits 71d204c

Comments (0)

Files changed (2)

File solenv/bin/rpm-wrapper

 # picking up the ld-linux.so.2 from there:
 
 set -e
+if [ "$OUTPATH" = "unxlngi6" ]
+then
+LD_LIBRARY_PATH=${LD_LIBRARY_PATH+${LD_LIBRARY_PATH}:}${LIBRARY_PATH?} \
+    ${BUILD_TOOLS?}/rpmbuild "$@"
+else
 LD_LIBRARY_PATH=${LD_LIBRARY_PATH+${LD_LIBRARY_PATH}:}${COMPATH?}/lib \
     ${BUILD_TOOLS?}/rpm "$@"
+fi

File solenv/config/sdev300.ini

 			OJDK16PATH %SOLAR_OJDK16PATH%
 			OS LINUX
 			OUTPATH unxlngi6
-			RPM %BUILD_TOOLS%$/rpmbuild
+			RPM %SOLARENV%/bin/rpm-wrapper
 			SOLAR_STLLIBPATH %SOLARVERSION%$/unxlngi6%PROEXT%$/lib%UPDMINOREXT%
 			SOLAR_STLPATH %SOLARVERSION%$/unxlngi6%PROEXT%$/inc%UPDMINOREXT%$/stl
 			SYSBASE %SOLAR_SYSBASE_ROOT%