File tree Expand file tree Collapse file tree 2 files changed +12
-9
lines changed
thirdparty/fluidsynth/fluidsynth-2.1.4/src/external Expand file tree Collapse file tree 2 files changed +12
-9
lines changed Original file line number Diff line number Diff line change @@ -409,7 +409,12 @@ elseif(OS_IS_FBSD)
409
409
# FreeBSD
410
410
###########################################
411
411
install (TARGETS ${EXECUTABLE_NAME} RUNTIME DESTINATION bin )
412
- install (FILES ${PROJECT_BINARY_DIR} /src/app/musescore DESTINATION bin )
412
+ add_custom_target (mscore_alias ALL
413
+ COMMAND echo "Creating symlink alias for mscore executable."
414
+ COMMAND ln -sfv "mscore" "musescore"
415
+ )
416
+ install (FILES ${PROJECT_BINARY_DIR} /src/app/musescore DESTINATION bin )
417
+
413
418
###########################################
414
419
# MacOS
415
420
###########################################
Original file line number Diff line number Diff line change 52
52
53
53
# include <sys/endian.h>
54
54
55
- #elif defined(__NetBSD__ ) || defined(__DragonFly__ )
56
-
57
- #x include <sys/endian.h>
55
+ #elif defined(__NetBSD__ ) || defined(__DragonFly__ ) || defined(__FreeBSD__ )
58
56
57
+ # include <sys/endian.h>
58
+ #ifndef __FreeBSD__
59
59
# define be16toh (x ) betoh16(x)
60
60
# define le16toh (x ) letoh16(x)
61
61
64
64
65
65
# define be64toh (x ) betoh64(x)
66
66
# define le64toh (x ) letoh64(x)
67
- #elif defined( __FreeBSD__ )
68
- # include <sys/endian.h>
67
+ #else
68
+ /*__FreeBSD__*/
69
69
# define __BYTE_ORDER _BYTE_ORDER
70
70
# define __BIG_ENDIAN _BIG_ENDIAN
71
71
# define __LITTLE_ENDIAN _LITTLE_ENDIAN
72
-
73
-
74
-
72
+ #endif
75
73
#elif defined(__WINDOWS__ )
76
74
77
75
#ifdef _MSC_VER
You can’t perform that action at this time.
0 commit comments