Browse Source

Linking DFPSR last so that other static libraries can depend on it.

David Piuva 4 years ago
parent
commit
ebdf6c1fca
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/tools/build.sh

+ 1 - 1
Source/tools/build.sh

@@ -65,7 +65,7 @@ then
 fi
 fi
 echo "Linking application with libraries (${LIBS})"
 echo "Linking application with libraries (${LIBS})"
 # Main must exist in the first library when linking
 # Main must exist in the first library when linking
-g++ ${TEMP_DIR}/application.a ${TEMP_DIR}/dfpsr.a ${TEMP_DIR}/NativeWindow.o ${LIBS} -o ${TARGET_FILE}
+g++ ${TEMP_DIR}/application.a ${TEMP_DIR}/NativeWindow.o ${LIBS} ${TEMP_DIR}/dfpsr.a -o ${TARGET_FILE}
 if [ $? -ne 0 ]
 if [ $? -ne 0 ]
 then
 then
 	exit 1
 	exit 1