Skip to content

Commit 882b61b

Browse files
committed
Fix buildscript for 32bit nvapi
Note to self: Actually check 32bit nvapi
1 parent d9135a3 commit 882b61b

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

package-release.sh

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,12 @@ function prepare {
189189
function build_arch {
190190
cd "$NVAPI_SRC_DIR"
191191

192+
if [ -z "$FAKEDLL" ]; then
193+
DIRS="x$1"
194+
else
195+
DIRS="$LIBDIR"
196+
fi
197+
192198
# remove generated files, because otherwise the existing
193199
# files get into the build instead of the generated ones
194200
rm -f version.h config.h
@@ -198,8 +204,8 @@ function build_arch {
198204
--buildtype release \
199205
--prefix "$NVLIBS_BUILD_DIR" \
200206
--strip \
201-
--bindir $LIBDIR \
202-
--libdir $LIBDIR \
207+
--bindir $DIRS \
208+
--libdir $DIRS \
203209
-Denable_tests=true \
204210
"$NVLIBS_BUILD_DIR/build.$1"
205211

0 commit comments

Comments
 (0)