Browse Source

Switch from gtk3 to zenity for osdialog on Linux.

tags/v2.0.4
Andrew Belt 2 years ago
parent
commit
14323ff246
1 changed files with 1 additions and 3 deletions
  1. +1
    -3
      Makefile

+ 1
- 3
Makefile View File

@@ -27,8 +27,7 @@ ifdef ARCH_LIN
SED := sed -i SED := sed -i
TARGET := libRack.so TARGET := libRack.so


SOURCES += dep/osdialog/osdialog_gtk3.c
build/dep/osdialog/osdialog_gtk3.c.o: FLAGS += $(shell pkg-config --cflags gtk+-3.0)
SOURCES += dep/osdialog/osdialog_zenity.c


# This prevents static variables in the DSO (dynamic shared object) from being preserved after dlclose(). # This prevents static variables in the DSO (dynamic shared object) from being preserved after dlclose().
# I don't really understand the side effects (see GCC manual), but so far tests are positive. # I don't really understand the side effects (see GCC manual), but so far tests are positive.
@@ -39,7 +38,6 @@ build/dep/osdialog/osdialog_gtk3.c.o: FLAGS += $(shell pkg-config --cflags gtk+-
LDFLAGS += dep/lib/libGLEW.a dep/lib/libglfw3.a dep/lib/libjansson.a dep/lib/libcurl.a dep/lib/libssl.a dep/lib/libcrypto.a dep/lib/libarchive.a dep/lib/libzstd.a dep/lib/libspeexdsp.a dep/lib/libsamplerate.a dep/lib/librtmidi.a dep/lib/librtaudio.a LDFLAGS += dep/lib/libGLEW.a dep/lib/libglfw3.a dep/lib/libjansson.a dep/lib/libcurl.a dep/lib/libssl.a dep/lib/libcrypto.a dep/lib/libarchive.a dep/lib/libzstd.a dep/lib/libspeexdsp.a dep/lib/libsamplerate.a dep/lib/librtmidi.a dep/lib/librtaudio.a
LDFLAGS += -Wl,--no-whole-archive LDFLAGS += -Wl,--no-whole-archive
LDFLAGS += -lpthread -lGL -ldl -lX11 -lasound -ljack -lpulse -lpulse-simple LDFLAGS += -lpthread -lGL -ldl -lX11 -lasound -ljack -lpulse -lpulse-simple
LDFLAGS += $(shell pkg-config --libs gtk+-3.0)


STANDALONE_TARGET := Rack STANDALONE_TARGET := Rack
STANDALONE_LDFLAGS += -static-libstdc++ -static-libgcc STANDALONE_LDFLAGS += -static-libstdc++ -static-libgcc


Loading…
Cancel
Save