nixpkgs/pkgs/development/libraries/java/swt/awt-libs.patch
bb010g 076a4b662c swt: less arbitrary LFLAGS & cleanup
Cleaner nested unpacking, as well as general robustness improvements.
Turns out the LFLAGS stuff was from upstream not trusting pkg-config on
their boxes, but it works great for us. (Or rather, it works great after
fixing some of their pkg-config invocations.)

Assisted by the diffoscope ( https://diffoscope.org/ ) and readelf
grepping based on its output.
2021-10-27 13:58:48 +03:00

9 lines
196 B
Diff

--- a/make_linux.mak
+++ b/make_linux.mak
@@ -63,4 +63,4 @@
AWT_LFLAGS = -shared ${SWT_LFLAGS}
-AWT_LIBS = -L$(AWT_LIB_PATH) -ljawt
+AWT_LIBS = `pkg-config --libs x11` -L$(AWT_LIB_PATH) -ljawt