Skip to content

Commit 4320c8e

Browse files
committed
inc: allegro4: Add better #inclibs (b8a1db6 regression)
(cherry picked from commit ab21164) Conflicts: changelog.txt
1 parent a82719f commit 4320c8e

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

changelog.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Version 1.02.1
66
- Package name + version to all the new/updated bindings
77
- Windows API binding: strsafe.bi and windowsx.bi; COBJMACROS declarations (COM helper macros)
88
- Windows API binding updated to mingw-w64 4.0.1
9+
- 1.01.0 regression: Allegro 4 binding didn't have #inclibs for Win32 static linking or Linux X11 libs
910

1011
[fixed]
1112
- 1.02.0 regression: win/winuser.bi: Renamed INPUT typedef to INPUT_ to avoid conflicts with the quirk keyword (due to bug #730)

inc/allegro.bi

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,19 @@
22

33
#pragma once
44

5-
#inclib "alleg"
5+
#if defined(__FB_WIN32__) and defined(ALLEGRO_STATICLINK)
6+
#inclib "alleg_s"
7+
#else
8+
#inclib "alleg"
9+
#endif
10+
11+
#ifdef __FB_LINUX__
12+
#inclib "X11"
13+
#inclib "Xext"
14+
#inclib "Xpm"
15+
#inclib "Xxf86vm"
16+
#inclib "Xcursor"
17+
#endif
618

719
#undef screen
820
#undef circle

0 commit comments

Comments
 (0)