gtkd-developers / GtkD

GtkD is a D binding and OO wrapper of GTK+ originally created by Antonio Monteiro
http://gtkd.org
Other
322 stars 71 forks source link

build shared library failed during linking stage #228

Closed Char-Aznable closed 6 years ago

Char-Aznable commented 6 years ago

Basically, what I did was cloning the GtkD repo and modify the GNUmakefile the prefix path and run make shared -j4. Everything looks fine until the linking stage. It failed with the message:

/scratch/.linuxbrew/Cellar/gtk+3/3.22.26/lib: file not recognized: Is a directory
collect2: error: ld returned 1 exit status
Error: linker exited with status 1

and the command that generates the error is

dmd -shared -oflibgtkd-3.so -L-ldl -defaultlib=:libphobos2.so -L/scratch/.linuxbrew/Cellar/gtk+3/3.22.26/lib -L/scratch/.linuxbrew/Cellar/pango/1.40.14_1/lib -L/scratch/.linuxbrew/Cellar/atk/2.26.1/lib -L/scratch/.linuxbrew/Cellar/cairo/1.14.12_1/lib -L/scratch/.linuxbrew/Cellar/librsvg/2.42.2/lib -L/scratch/.linuxbrew/Cellar/glib/2.54.3/lib -L/scratch/.linuxbrew/Cellar/gdk-pixbuf/2.36.11/lib -L/scratch/.linuxbrew/Cellar/glib/2.54.3/lib -L/scratch/.linuxbrew/Cellar/cairo/1.14.12_1/lib -L-lgtk-3 -L-lgdk-3 -L-lpangocairo-1.0 -L-lpango-1.0 -L-latk-1.0 -L-lcairo-gobject -L-lrsvg-2 -L-lm -L-lgio-2.0 -L-lgdk_pixbuf-2.0 -L-lgobject-2.0 -L-lglib-2.0 -L-lcairo -L-soname=libgtkd-3.so.0 generated/gtkd/atk/HyperlinkImplIF.pic.o generated/gtkd/atk/NoOpObjectFactory.pic.o generated/gtkd/atk/Rectangle.pic.o generated/gtkd/atk/Socket.pic.o generated/gtkd/atk/TextT.pic.o generated/gtkd/atk/Relation.pic.o generated/gtkd/atk/StreamableContentT.pic.o generated/gtkd/atk/NoOpObject.pic.o generated/gtkd/atk/GObjectAccessible.pic.o generated/gtkd/atk/ValueT.pic.o generated/gtkd/atk/ActionT.pic.o generated/gtkd/atk/HypertextT.pic.o generated/gtkd/atk/StreamableContentIF.pic.o generated/gtkd/atk/Hyperlink.pic.o generated/gtkd/atk/ValueIF.pic.o generated/gtkd/atk/ImageT.pic.o generated/gtkd/atk/SelectionIF.pic.o generated/gtkd/atk/Registry.pic.o generated/gtkd/atk/Range.pic.o generated/gtkd/atk/State.pic.o generated/gtkd/atk/Plug.pic.o generated/gtkd/atk/TableT.pic.o generated/gtkd/atk/ImageIF.pic.o generated/gtkd/atk/ActionIF.pic.o generated/gtkd/atk/TableCellIF.pic.o generated/gtkd/atk/HypertextIF.pic.o generated/gtkd/atk/TableIF.pic.o generated/gtkd/atk/ImplementorIF.pic.o generated/gtkd/atk/HyperlinkImplT.pic.o generated/gtkd/atk/Version.pic.o generated/gtkd/atk/WindowIF.pic.o generated/gtkd/atk/Misc.pic.o generated/gtkd/atk/TableCellT.pic.o generated/gtkd/atk/EditableTextIF.pic.o generated/gtkd/atk/ImplementorT.pic.o generated/gtkd/atk/DocumentT.pic.o generated/gtkd/atk/ObjectFactory.pic.o generated/gtkd/atk/WindowT.pic.o generated/gtkd/atk/TextRange.pic.o generated/gtkd/atk/Util.pic.o generated/gtkd/atk/ComponentIF.pic.o generated/gtkd/atk/ObjectAtk.pic.o generated/gtkd/atk/EditableTextT.pic.o generated/gtkd/atk/RelationSet.pic.o generated/gtkd/atk/StateSet.pic.o generated/gtkd/atk/SelectionT.pic.o generated/gtkd/atk/TextIF.pic.o generated/gtkd/atk/ComponentT.pic.o generated/gtkd/atk/DocumentIF.pic.o generated/gtkd/gio/ThemedIcon.pic.o generated/gtkd/gio/DatagramBasedIF.pic.o generated/gtkd/gio/DBusObjectT.pic.o generated/gtkd/gio/MountT.pic.o generated/gtkd/gio/SocketControlMessage.pic.o generated/gtkd/gio/StaticResource.pic.o generated/gtkd/gio/TlsConnection.pic.o generated/gtkd/gio/SimpleAsyncResult.pic.o generated/gtkd/gio/EmblemedIcon.pic.o generated/gtkd/gio/MenuLinkIter.pic.o generated/gtkd/gio/FileIOStream.pic.o generated/gtkd/gio/FileT.pic.o generated/gtkd/gio/MountIF.pic.o generated/gtkd/gio/TcpConnection.pic.o generated/gtkd/gio/TlsServerConnectionT.pic.o generated/gtkd/gio/FileAttributeMatcher.pic.o generated/gtkd/gio/TlsServerConnectionIF.pic.o generated/gtkd/gio/MemoryOutputStream.pic.o generated/gtkd/gio/AppLaunchContext.pic.o generated/gtkd/gio/DBusInterfaceSkeleton.pic.o generated/gtkd/gio/TlsClientConnectionIF.pic.o generated/gtkd/gio/InetAddress.pic.o generated/gtkd/gio/SettingsSchema.pic.o generated/gtkd/gio/SimpleActionGroup.pic.o generated/gtkd/gio/TlsBackendIF.pic.o generated/gtkd/gio/IconIF.pic.o generated/gtkd/gio/DBusInterfaceT.pic.o generated/gtkd/gio/SimpleAction.pic.o generated/gtkd/gio/RemoteActionGroupIF.pic.o generated/gtkd/gio/DesktopAppInfoLookupIF.pic.o generated/gtkd/gio/UnixMountPoint.pic.o generated/gtkd/gio/DBusObjectProxy.pic.o generated/gtkd/gio/ActionGroupIF.pic.o generated/gtkd/gio/DtlsServerConnectionIF.pic.o generated/gtkd/gio/NetworkMonitorIF.pic.o generated/gtkd/gio/SocketService.pic.o generated/gtkd/gio/LoadableIconT.pic.o generated/gtkd/gio/OutputStream.pic.o generated/gtkd/gio/DBusInterfaceIF.pic.o generated/gtkd/gio/VolumeIF.pic.o generated/gtkd/gio/SettingsSchemaSource.pic.o generated/gtkd/gio/FileOutputStream.pic.o generated/gtkd/gio/ConverterInputStream.pic.o generated/gtkd/gio/TlsCertificate.pic.o generated/gtkd/gio/DesktopAppInfo.pic.o generated/gtkd/gio/DBusArgInfo.pic.o generated/gtkd/gio/ConverterT.pic.o generated/gtkd/gio/Subprocess.pic.o generated/gtkd/gio/SocketListener.pic.o generated/gtkd/gio/Settings.pic.o generated/gtkd/gio/DtlsClientConnectionT.pic.o generated/gtkd/gio/Application.pic.o generated/gtkd/gio/DBusObjectIF.pic.o generated/gtkd/gio/AsyncResultIF.pic.o generated/gtkd/gio/AsyncInitableIF.pic.o generated/gtkd/gio/TlsDatabase.pic.o generated/gtkd/gio/DBusMenuModel.pic.o generated/gtkd/gio/DBusObjectManagerClient.pic.o generated/gtkd/gio/IOModuleScope.pic.o generated/gtkd/gio/FileEnumerator.pic.o generated/gtkd/gio/MenuAttributeIter.pic.o generated/gtkd/gio/FileIF.pic.o generated/gtkd/gio/SimpleProxyResolver.pic.o generated/gtkd/gio/InitableIF.pic.o generated/gtkd/gio/ActionGroupT.pic.o generated/gtkd/gio/DBusConnection.pic.o generated/gtkd/gio/DBusMethodInvocation.pic.o generated/gtkd/gio/ListStore.pic.o generated/gtkd/gio/DBusMessage.pic.o generated/gtkd/gio/SocketClient.pic.o generated/gtkd/gio/InetSocketAddress.pic.o generated/gtkd/gio/DBusNodeInfo.pic.o generated/gtkd/gio/IOExtensionPoint.pic.o generated/gtkd/gio/ZlibCompressor.pic.o generated/gtkd/gio/DBusObjectSkeleton.pic.o generated/gtkd/gio/FileInputStream.pic.o generated/gtkd/gio/ErrorGIO.pic.o generated/gtkd/gio/MountOperation.pic.o generated/gtkd/gio/FileDescriptorBasedIF.pic.o generated/gtkd/gio/MenuModel.pic.o generated/gtkd/gio/UnixCredentialsMessage.pic.o generated/gtkd/gio/SettingsSchemaKey.pic.o generated/gtkd/gio/DtlsConnectionIF.pic.o generated/gtkd/gio/IOExtension.pic.o generated/gtkd/gio/DBusObjectManagerServer.pic.o generated/gtkd/gio/PropertyAction.pic.o generated/gtkd/gio/TlsBackendT.pic.o generated/gtkd/gio/FilenameCompleter.pic.o generated/gtkd/gio/DtlsServerConnectionT.pic.o generated/gtkd/gio/DBusActionGroup.pic.o generated/gtkd/gio/Menu.pic.o generated/gtkd/gio/PollableInputStreamIF.pic.o generated/gtkd/gio/BufferedOutputStream.pic.o generated/gtkd/gio/TlsFileDatabaseT.pic.o generated/gtkd/gio/DBusUtilities.pic.o generated/gtkd/gio/Task.pic.o generated/gtkd/gio/AppInfoMonitor.pic.o generated/gtkd/gio/TlsInteraction.pic.o generated/gtkd/gio/FileIcon.pic.o generated/gtkd/gio/InetAddressMask.pic.o generated/gtkd/gio/ThreadedSocketService.pic.o generated/gtkd/gio/ActionIF.pic.o generated/gtkd/gio/DataInputStream.pic.o generated/gtkd/gio/DBusObjectManagerIF.pic.o generated/gtkd/gio/DBusServer.pic.o generated/gtkd/gio/Permission.pic.o generated/gtkd/gio/ActionMapIF.pic.o generated/gtkd/gio/FilterOutputStream.pic.o generated/gtkd/gio/AppInfoIF.pic.o generated/gtkd/gio/MenuItem.pic.o generated/gtkd/gio/BytesIcon.pic.o generated/gtkd/gio/UnixMountMonitor.pic.o generated/gtkd/gio/DBusSignalInfo.pic.o generated/gtkd/gio/SocketConnectableIF.pic.o generated/gtkd/gio/InputStream.pic.o generated/gtkd/gio/UnixSocketAddress.pic.o generated/gtkd/gio/VolumeMonitor.pic.o generated/gtkd/gio/UnixOutputStream.pic.o generated/gtkd/gio/UnixMountEntry.pic.o generated/gtkd/gio/MemoryInputStream.pic.o generated/gtkd/gio/DBusAuthObserver.pic.o generated/gtkd/gio/ProxyAddressEnumerator.pic.o generated/gtkd/gio/DriveT.pic.o generated/gtkd/gio/TlsClientConnectionT.pic.o generated/gtkd/gio/FilterInputStream.pic.o generated/gtkd/gio/DBusNames.pic.o generated/gtkd/gio/DBusError.pic.o generated/gtkd/gio/DBusMethodInfo.pic.o generated/gtkd/gio/SimplePermission.pic.o generated/gtkd/gio/DBusObjectManagerT.pic.o generated/gtkd/gio/SrvTarget.pic.o generated/gtkd/gio/AsyncResultT.pic.o generated/gtkd/gio/ListModelT.pic.o generated/gtkd/gio/UnixFDList.pic.o generated/gtkd/gio/DriveIF.pic.o generated/gtkd/gio/SocketConnection.pic.o generated/gtkd/gio/FileDescriptorBasedT.pic.o generated/gtkd/gio/TcpWrapperConnection.pic.o generated/gtkd/gio/BufferedInputStream.pic.o generated/gtkd/gio/NativeVolumeMonitor.pic.o generated/gtkd/gio/PollableOutputStreamT.pic.o generated/gtkd/gio/ConverterIF.pic.o generated/gtkd/gio/NetworkAddress.pic.o generated/gtkd/gio/DBusAnnotationInfo.pic.o generated/gtkd/gio/SettingsBackend.pic.o generated/gtkd/gio/AsyncInitableT.pic.o generated/gtkd/gio/ContentType.pic.o generated/gtkd/gio/LoadableIconIF.pic.o generated/gtkd/gio/TlsFileDatabaseIF.pic.o generated/gtkd/gio/NetworkService.pic.o generated/gtkd/gio/VolumeT.pic.o generated/gtkd/gio/Notification.pic.o generated/gtkd/gio/CharsetConverter.pic.o generated/gtkd/gio/TlsPassword.pic.o generated/gtkd/gio/IOModule.pic.o generated/gtkd/gio/Vfs.pic.o generated/gtkd/gio/NetworkMonitorT.pic.o generated/gtkd/gio/ZlibDecompressor.pic.o generated/gtkd/gio/FileMonitor.pic.o generated/gtkd/gio/Emblem.pic.o generated/gtkd/gio/ActionMapT.pic.o generated/gtkd/gio/Cancellable.pic.o generated/gtkd/gio/ConverterOutputStream.pic.o generated/gtkd/gio/DtlsConnectionT.pic.o generated/gtkd/gio/IconT.pic.o generated/gtkd/gio/Credentials.pic.o generated/gtkd/gio/Socket.pic.o generated/gtkd/gio/PollableUtils.pic.o generated/gtkd/gio/FileInfo.pic.o generated/gtkd/gio/SeekableT.pic.o generated/gtkd/gio/IOStream.pic.o generated/gtkd/gio/ListModelIF.pic.o generated/gtkd/gio/Resolver.pic.o generated/gtkd/gio/SocketAddressEnumerator.pic.o generated/gtkd/gio/SocketAddress.pic.o generated/gtkd/gio/RemoteActionGroupT.pic.o generated/gtkd/gio/AppInfoT.pic.o generated/gtkd/gio/DBusInterfaceInfo.pic.o generated/gtkd/gio/IOSchedulerJob.pic.o generated/gtkd/gio/DataOutputStream.pic.o generated/gtkd/gio/Resource.pic.o generated/gtkd/gio/SocketConnectableT.pic.o generated/gtkd/gio/SeekableIF.pic.o generated/gtkd/gio/InitableT.pic.o generated/gtkd/gio/ActionT.pic.o generated/gtkd/gio/UnixConnection.pic.o generated/gtkd/gio/FileAttributeInfoList.pic.o generated/gtkd/gio/ProxyIF.pic.o generated/gtkd/gio/PollableInputStreamT.pic.o generated/gtkd/gio/ProxyResolverT.pic.o generated/gtkd/gio/ProxyAddress.pic.o generated/gtkd/gio/TestDBus.pic.o generated/gtkd/gio/DBusPropertyInfo.pic.o generated/gtkd/gio/PollableOutputStreamIF.pic.o generated/gtkd/gio/ApplicationCommandLine.pic.o generated/gtkd/gio/ProxyResolverIF.pic.o generated/gtkd/gio/ProxyT.pic.o generated/gtkd/gio/SimpleIOStream.pic.o generated/gtkd/gio/UnixFDMessage.pic.o generated/gtkd/gio/DtlsClientConnectionIF.pic.o generated/gtkd/gio/DatagramBasedT.pic.o generated/gtkd/gio/UnixInputStream.pic.o generated/gtkd/gio/DesktopAppInfoLookupT.pic.o generated/gtkd/gio/DBusProxy.pic.o generated/gtkd/gio/SubprocessLauncher.pic.o generated/gtkd/gdk/EventSequence.pic.o generated/gtkd/gdk/Seat.pic.o generated/gtkd/gdk/DeviceTool.pic.o generated/gtkd/gdk/Rectangle.pic.o generated/gtkd/gdk/Window.pic.o generated/gtkd/gdk/DrawingContext.pic.o generated/gtkd/gdk/Selection.pic.o generated/gtkd/gdk/Cairo.pic.o generated/gtkd/gdk/X11.pic.o generated/gtkd/gdk/FrameTimings.pic.o generated/gtkd/gdk/Pango.pic.o generated/gtkd/gdk/Keymap.pic.o generated/gtkd/gdk/DevicePadT.pic.o generated/gtkd/gdk/Display.pic.o generated/gtkd/gdk/Visual.pic.o generated/gtkd/gdk/Atom.pic.o generated/gtkd/gdk/Pixbuf.pic.o generated/gtkd/gdk/DragContext.pic.o generated/gtkd/gdk/Screen.pic.o generated/gtkd/gdk/Cursor.pic.o generated/gtkd/gdk/DisplayManager.pic.o generated/gtkd/gdk/AppLaunchContext.pic.o generated/gtkd/gdk/Keysyms.pic.o generated/gtkd/gdk/Gdk.pic.o generated/gtkd/gdk/Device.pic.o generated/gtkd/gdk/FrameClock.pic.o generated/gtkd/gdk/Event.pic.o generated/gtkd/gdk/Threads.pic.o generated/gtkd/gdk/Testing.pic.o generated/gtkd/gdk/DeviceManager.pic.o generated/gtkd/gdk/MonitorG.pic.o generated/gtkd/gdk/RGBA.pic.o generated/gtkd/gdk/GLContext.pic.o generated/gtkd/gdk/DevicePadIF.pic.o generated/gtkd/gdk/Color.pic.o generated/gtkd/cairo/MeshPattern.pic.o generated/gtkd/cairo/Version.pic.o generated/gtkd/cairo/FontOption.pic.o generated/gtkd/cairo/RasterSource.pic.o generated/gtkd/cairo/Types.pic.o generated/gtkd/cairo/PdfSurface.pic.o generated/gtkd/cairo/ScriptSurface.pic.o generated/gtkd/cairo/ScaledFont.pic.o generated/gtkd/cairo/Script.pic.o generated/gtkd/cairo/Pattern.pic.o generated/gtkd/cairo/Matrix.pic.o generated/gtkd/cairo/UserFontFace.pic.o generated/gtkd/cairo/Device.pic.o generated/gtkd/cairo/RecordingSurface.pic.o generated/gtkd/cairo/Context.pic.o generated/gtkd/cairo/PostScriptSurface.pic.o generated/gtkd/cairo/Surface.pic.o generated/gtkd/cairo/FontFace.pic.o generated/gtkd/cairo/Status.pic.o generated/gtkd/cairo/ImageSurface.pic.o generated/gtkd/cairo/SvgSurface.pic.o generated/gtkd/cairo/Region.pic.o generated/gtkd/gtk/GestureRotate.pic.o generated/gtkd/gtk/Builder.pic.o generated/gtkd/gtk/RecentManager.pic.o generated/gtkd/gtk/TextTagTable.pic.o generated/gtkd/gtk/ButtonAccessible.pic.o generated/gtkd/gtk/ProgressBar.pic.o generated/gtkd/gtk/SearchBar.pic.o generated/gtkd/gtk/BuildableIF.pic.o generated/gtkd/gtk/TextView.pic.o generated/gtkd/gtk/Entry.pic.o generated/gtkd/gtk/MenuShell.pic.o generated/gtkd/gtk/EntryAccessible.pic.o generated/gtkd/gtk/Notebook.pic.o generated/gtkd/gtk/StyleContext.pic.o generated/gtkd/gtk/Requisition.pic.o generated/gtkd/gtk/ToolItemGroup.pic.o generated/gtkd/gtk/HSV.pic.o generated/gtkd/gtk/TreeModelFilter.pic.o generated/gtkd/gtk/TreeIter.pic.o generated/gtkd/gtk/CellEditableT.pic.o generated/gtkd/gtk/CellRendererSpin.pic.o generated/gtkd/gtk/ListBoxRowAccessible.pic.o generated/gtkd/gtk/StyleProviderIF.pic.o generated/gtkd/gtk/IconSize.pic.o generated/gtkd/gtk/PrintOperation.pic.o generated/gtkd/gtk/Switch.pic.o generated/gtkd/gtk/RecentChooserIF.pic.o generated/gtkd/gtk/ComboBox.pic.o generated/gtkd/gtk/AccelGroup.pic.o generated/gtkd/gtk/ComboBoxText.pic.o generated/gtkd/gtk/SearchEntry.pic.o generated/gtkd/gtk/TreeModelSort.pic.o generated/gtkd/gtk/CellEditableIF.pic.o generated/gtkd/gtk/TreeIterError.pic.o generated/gtkd/gtk/CellRendererProgress.pic.o generated/gtkd/gtk/Adjustment.pic.o generated/gtkd/gtk/SwitchAccessible.pic.o generated/gtkd/gtk/StatusbarAccessible.pic.o generated/gtkd/gtk/Misc.pic.o generated/gtkd/gtk/Scale.pic.o generated/gtkd/gtk/AppChooserIF.pic.o generated/gtkd/gtk/PanedAccessible.pic.o generated/gtkd/gtk/OffscreenWindow.pic.o generated/gtkd/gtk/Alignment.pic.o generated/gtkd/gtk/ColorChooserT.pic.o generated/gtkd/gtk/Viewport.pic.o generated/gtkd/gtk/GestureMultiPress.pic.o generated/gtkd/gtk/TargetList.pic.o generated/gtkd/gtk/Settings.pic.o generated/gtkd/gtk/CellAreaClass.pic.o generated/gtkd/gtk/Button.pic.o generated/gtkd/gtk/Application.pic.o generated/gtkd/gtk/TreeDragDestIF.pic.o generated/gtkd/gtk/PageSetup.pic.o generated/gtkd/gtk/VScrollbar.pic.o generated/gtkd/gtk/ColorChooserIF.pic.o generated/gtkd/gtk/Popover.pic.o generated/gtkd/gtk/TreeSortableT.pic.o generated/gtkd/gtk/ComboBoxAccessible.pic.o generated/gtkd/gtk/CellView.pic.o generated/gtkd/gtk/FileChooserNative.pic.o generated/gtkd/gtk/RadioMenuItem.pic.o generated/gtkd/gtk/RecentAction.pic.o generated/gtkd/gtk/LinkButtonAccessible.pic.o generated/gtkd/gtk/CheckMenuItemAccessible.pic.o generated/gtkd/gtk/IMContextSimple.pic.o generated/gtkd/gtk/FileChooserWidget.pic.o generated/gtkd/gtk/ToggleButton.pic.o generated/gtkd/gtk/TreeView.pic.o generated/gtkd/gtk/SymbolicColor.pic.o generated/gtkd/gtk/TreeDragSourceT.pic.o generated/gtkd/gtk/Gesture.pic.o generated/gtkd/gtk/RadioAction.pic.o generated/gtkd/gtk/BindingSet.pic.o generated/gtkd/gtk/CssProvider.pic.o generated/gtkd/gtk/AboutDialog.pic.o generated/gtkd/gtk/ToolShellT.pic.o generated/gtkd/gtk/StyleProperties.pic.o generated/gtkd/gtk/HeaderBar.pic.o generated/gtkd/gtk/AppChooserT.pic.o generated/gtkd/gtk/StackSwitcher.pic.o generated/gtkd/gtk/FileChooserButton.pic.o generated/gtkd/gtk/IconViewAccessible.pic.o generated/gtkd/gtk/FlowBoxAccessible.pic.o generated/gtkd/gtk/FontSelection.pic.o generated/gtkd/gtk/ColorSelectionDialog.pic.o generated/gtkd/gtk/ScrollableT.pic.o generated/gtkd/gtk/ScaleAccessible.pic.o generated/gtkd/gtk/AppChooserButton.pic.o generated/gtkd/gtk/CheckButton.pic.o generated/gtkd/gtk/ToolShellIF.pic.o generated/gtkd/gtk/EditableT.pic.o generated/gtkd/gtk/FontChooserWidget.pic.o generated/gtkd/gtk/Clipboard.pic.o generated/gtkd/gtk/ActivatableT.pic.o generated/gtkd/gtk/FontSelectionDialog.pic.o generated/gtkd/gtk/Spinner.pic.o generated/gtkd/gtk/ListStore.pic.o generated/gtkd/gtk/PopupBox.pic.o generated/gtkd/gtk/ActivatableIF.pic.o generated/gtkd/gtk/TreeStore.pic.o generated/gtkd/gtk/NotebookPageAccessible.pic.o generated/gtkd/gtk/ListBoxAccessible.pic.o generated/gtkd/gtk/Stack.pic.o generated/gtkd/gtk/CheckMenuItem.pic.o generated/gtkd/gtk/MountOperation.pic.o generated/gtkd/gtk/ShortcutLabel.pic.o generated/gtkd/gtk/PadController.pic.o generated/gtkd/gtk/RadioButtonAccessible.pic.o generated/gtkd/gtk/Overlay.pic.o generated/gtkd/gtk/ShortcutsShortcut.pic.o generated/gtkd/gtk/VScale.pic.o generated/gtkd/gtk/InfoBar.pic.o generated/gtkd/gtk/TargetEntry.pic.o generated/gtkd/gtk/Bin.pic.o generated/gtkd/gtk/IMMulticontext.pic.o generated/gtkd/gtk/ActionableIF.pic.o generated/gtkd/gtk/CellAccessibleParentT.pic.o generated/gtkd/gtk/HandleBox.pic.o generated/gtkd/gtk/FontChooserIF.pic.o generated/gtkd/gtk/ScaleButtonAccessible.pic.o generated/gtkd/gtk/LevelBarAccessible.pic.o generated/gtkd/gtk/TreeSortableIF.pic.o generated/gtkd/gtk/EventController.pic.o generated/gtkd/gtk/CellRendererAccel.pic.o generated/gtkd/gtk/ProgressBarAccessible.pic.o generated/gtkd/gtk/TextMark.pic.o generated/gtkd/gtk/OrientableT.pic.o generated/gtkd/gtk/GestureSingle.pic.o generated/gtkd/gtk/GestureLongPress.pic.o generated/gtkd/gtk/TextBuffer.pic.o generated/gtkd/gtk/BindingEntry.pic.o generated/gtkd/gtk/TreeModelIF.pic.o generated/gtkd/gtk/ContainerCellAccessible.pic.o generated/gtkd/gtk/WindowGroup.pic.o generated/gtkd/gtk/IconView.pic.o generated/gtkd/gtk/PaperSize.pic.o generated/gtkd/gtk/Accessible.pic.o generated/gtkd/gtk/RadioMenuItemAccessible.pic.o generated/gtkd/gtk/ToggleAction.pic.o generated/gtkd/gtk/Menu.pic.o generated/gtkd/gtk/AccelLabel.pic.o generated/gtkd/gtk/IconSource.pic.o generated/gtkd/gtk/WidgetPath.pic.o generated/gtkd/gtk/SpinButton.pic.o generated/gtkd/gtk/TextIter.pic.o generated/gtkd/gtk/StackAccessible.pic.o generated/gtkd/gtk/RcProperty.pic.o generated/gtkd/gtk/FileChooserIF.pic.o generated/gtkd/gtk/DrawingArea.pic.o generated/gtkd/gtk/Version.pic.o generated/gtkd/gtk/ToggleToolButton.pic.o generated/gtkd/gtk/StockItem.pic.o generated/gtkd/gtk/Label.pic.o generated/gtkd/gtk/Expander.pic.o generated/gtkd/gtk/ScrolledWindow.pic.o generated/gtkd/gtk/MessageDialog.pic.o generated/gtkd/gtk/CellArea.pic.o generated/gtkd/gtk/TreePath.pic.o generated/gtkd/gtk/MenuShellAccessible.pic.o generated/gtkd/gtk/PlacesSidebar.pic.o generated/gtkd/gtk/ScaleButton.pic.o generated/gtkd/gtk/GLArea.pic.o generated/gtkd/gtk/RadioButton.pic.o generated/gtkd/gtk/FrameAccessible.pic.o generated/gtkd/gtk/NotebookAccessible.pic.o generated/gtkd/gtk/TreeDragDestT.pic.o generated/gtkd/gtk/MenuBar.pic.o generated/gtkd/gtk/TextTag.pic.o generated/gtkd/gtk/LevelBar.pic.o generated/gtkd/gtk/PrintOperationPreviewT.pic.o generated/gtkd/gtk/RendererCellAccessible.pic.o generated/gtkd/gtk/VButtonBox.pic.o generated/gtkd/gtk/Calendar.pic.o generated/gtkd/gtk/SizeGroup.pic.o generated/gtkd/gtk/MenuToolButton.pic.o generated/gtkd/gtk/TreeDragSourceIF.pic.o generated/gtkd/gtk/HScrollbar.pic.o generated/gtkd/gtk/GestureSwipe.pic.o generated/gtkd/gtk/ColorChooserDialog.pic.o generated/gtkd/gtk/Tooltip.pic.o generated/gtkd/gtk/Socket.pic.o generated/gtkd/gtk/FileFilter.pic.o generated/gtkd/gtk/NumerableIcon.pic.o generated/gtkd/gtk/PopoverAccessible.pic.o generated/gtkd/gtk/HScale.pic.o generated/gtkd/gtk/BuildableT.pic.o generated/gtkd/gtk/SpinButtonAccessible.pic.o generated/gtkd/gtk/CellAccessibleParentIF.pic.o generated/gtkd/gtk/RecentFilter.pic.o generated/gtkd/gtk/CellRenderer.pic.o generated/gtkd/gtk/Layout.pic.o generated/gtkd/gtk/CellRendererToggle.pic.o generated/gtkd/gtk/EntryCompletion.pic.o generated/gtkd/gtk/Window.pic.o generated/gtkd/gtk/RangeAccessible.pic.o generated/gtkd/gtk/Paned.pic.o generated/gtkd/gtk/MenuItemAccessible.pic.o generated/gtkd/gtk/Scrollbar.pic.o generated/gtkd/gtk/ShortcutsWindow.pic.o generated/gtkd/gtk/ImageMenuItem.pic.o generated/gtkd/gtk/ActionGroup.pic.o generated/gtkd/gtk/HButtonBox.pic.o generated/gtkd/gtk/PrintContext.pic.o generated/gtkd/gtk/GesturePan.pic.o generated/gtkd/gtk/Border.pic.o generated/gtkd/gtk/OrientableIF.pic.o generated/gtkd/gtk/ThemingEngine.pic.o generated/gtkd/gtk/MenuAccessible.pic.o generated/gtkd/gtk/ArrowAccessible.pic.o generated/gtkd/gtk/CellAccessible.pic.o generated/gtkd/gtk/Main.pic.o generated/gtkd/gtk/LabelAccessible.pic.o generated/gtkd/gtk/AppChooserWidget.pic.o generated/gtkd/gtk/ContainerAccessible.pic.o generated/gtkd/gtk/TreeViewAccessible.pic.o generated/gtkd/gtk/WidgetClass.pic.o generated/gtkd/gtk/VPaned.pic.o generated/gtkd/gtk/GestureDrag.pic.o generated/gtkd/gtk/EditableIF.pic.o generated/gtkd/gtk/ImageAccessible.pic.o generated/gtkd/gtk/ToolItem.pic.o generated/gtkd/gtk/TreeModelT.pic.o generated/gtkd/gtk/VSeparator.pic.o generated/gtkd/gtk/FileChooserDialog.pic.o generated/gtkd/gtk/RadioToolButton.pic.o generated/gtkd/gtk/Range.pic.o generated/gtkd/gtk/ButtonBox.pic.o generated/gtkd/gtk/Grid.pic.o generated/gtkd/gtk/ToolButton.pic.o generated/gtkd/gtk/TearoffMenuItem.pic.o generated/gtkd/gtk/LinkButton.pic.o generated/gtkd/gtk/AccelMap.pic.o generated/gtkd/gtk/WidgetAccessible.pic.o generated/gtkd/gtk/ColorChooserWidget.pic.o generated/gtkd/gtk/TextCellAccessible.pic.o generated/gtkd/gtk/HPaned.pic.o generated/gtkd/gtk/Widget.pic.o generated/gtkd/gtk/MenuItem.pic.o generated/gtkd/gtk/AspectFrame.pic.o generated/gtkd/gtk/ListBox.pic.o generated/gtkd/gtk/CellRendererCombo.pic.o generated/gtkd/gtk/SpinnerAccessible.pic.o generated/gtkd/gtk/TreeNode.pic.o generated/gtkd/gtk/CellRendererText.pic.o generated/gtkd/gtk/CellLayoutIF.pic.o generated/gtkd/gtk/ShortcutsGroup.pic.o generated/gtkd/gtk/Box.pic.o generated/gtkd/gtk/Statusbar.pic.o generated/gtkd/gtk/VBox.pic.o generated/gtkd/gtk/TextChildAnchor.pic.o generated/gtkd/gtk/TreeRowReference.pic.o generated/gtkd/gtk/FontChooserDialog.pic.o generated/gtkd/gtk/ActionableT.pic.o generated/gtkd/gtk/FlowBox.pic.o generated/gtkd/gtk/ListBoxRow.pic.o generated/gtkd/gtk/StyleProviderT.pic.o generated/gtkd/gtk/RcStyle.pic.o generated/gtkd/gtk/CellAreaBox.pic.o generated/gtkd/gtk/BooleanCellAccessible.pic.o generated/gtkd/gtk/IconSet.pic.o generated/gtkd/gtk/ColorButton.pic.o generated/gtkd/gtk/EventBox.pic.o generated/gtkd/gtk/Dialog.pic.o generated/gtkd/gtk/TreeViewColumn.pic.o generated/gtkd/gtk/Fixed.pic.o generated/gtkd/gtk/CellRendererSpinner.pic.o generated/gtkd/gtk/NativeDialog.pic.o generated/gtkd/gtk/Arrow.pic.o generated/gtkd/gtk/StackSidebar.pic.o generated/gtkd/gtk/TreeModel.pic.o generated/gtkd/gtk/IconTheme.pic.o generated/gtkd/gtk/IMContext.pic.o generated/gtkd/gtk/RecentChooserWidget.pic.o generated/gtkd/gtk/FontButton.pic.o generated/gtkd/gtk/MenuButtonAccessible.pic.o generated/gtkd/gtk/ScrollableIF.pic.o generated/gtkd/gtk/Container.pic.o generated/gtkd/gtk/ToolPalette.pic.o generated/gtkd/gtk/Image.pic.o generated/gtkd/gtk/IconFactory.pic.o generated/gtkd/gtk/Action.pic.o generated/gtkd/gtk/ExpanderAccessible.pic.o generated/gtkd/gtk/FileChooserT.pic.o generated/gtkd/gtk/WindowAccessible.pic.o generated/gtkd/gtk/UIManager.pic.o generated/gtkd/gtk/ApplicationWindow.pic.o generated/gtkd/gtk/CellAreaContext.pic.o generated/gtkd/gtk/SelectionData.pic.o generated/gtkd/gtk/ToplevelAccessible.pic.o generated/gtkd/gtk/TreeSelection.pic.o generated/gtkd/gtk/RecentInfo.pic.o generated/gtkd/gtk/CellLayoutT.pic.o generated/gtkd/gtk/RecentChooserDialog.pic.o generated/gtkd/gtk/Toolbar.pic.o generated/gtkd/gtk/ContainerClass.pic.o generated/gtkd/gtk/PrintSettings.pic.o generated/gtkd/gtk/CellRendererClass.pic.o generated/gtkd/gtk/Revealer.pic.o generated/gtkd/gtk/VolumeButton.pic.o generated/gtkd/gtk/ShortcutsSection.pic.o generated/gtkd/gtk/StatusIcon.pic.o generated/gtkd/gtk/HSeparator.pic.o generated/gtkd/gtk/ColorSelection.pic.o generated/gtkd/gtk/RecentChooserMenu.pic.o generated/gtkd/gtk/ScrolledWindowAccessible.pic.o generated/gtkd/gtk/GestureZoom.pic.o generated/gtkd/gtk/Gradient.pic.o generated/gtkd/gtk/AppChooserDialog.pic.o generated/gtkd/gtk/FontChooserT.pic.o generated/gtkd/gtk/Style.pic.o generated/gtkd/gtk/SeparatorToolItem.pic.o generated/gtkd/gtk/FlowBoxChildAccessible.pic.o generated/gtkd/gtk/PrintOperationPreviewIF.pic.o generated/gtkd/gtk/MenuButton.pic.o generated/gtkd/gtk/ToggleButtonAccessible.pic.o generated/gtkd/gtk/Plug.pic.o generated/gtkd/gtk/ImageCellAccessible.pic.o generated/gtkd/gtk/Table.pic.o generated/gtkd/gtk/MainWindow.pic.o generated/gtkd/gtk/LockButtonAccessible.pic.o generated/gtkd/gtk/ActionBar.pic.o generated/gtkd/gtk/SeparatorMenuItem.pic.o generated/gtkd/gtk/LockButton.pic.o generated/gtkd/gtk/HBox.pic.o generated/gtkd/gtk/TextViewAccessible.pic.o generated/gtkd/gtk/IconInfo.pic.o generated/gtkd/gtk/ModelButton.pic.o generated/gtkd/gtk/RecentChooserT.pic.o generated/gtkd/gtk/CssSection.pic.o generated/gtkd/gtk/Invisible.pic.o generated/gtkd/gtk/CellRendererPixbuf.pic.o generated/gtkd/gtk/EntryBuffer.pic.o generated/gtkd/gtk/TextAttributes.pic.o generated/gtkd/gtk/PopoverMenu.pic.o generated/gtkd/gtk/DragAndDrop.pic.o generated/gtkd/gtk/Assistant.pic.o generated/gtkd/gtk/Frame.pic.o generated/gtkd/gtk/FlowBoxChild.pic.o generated/gtkd/gtk/Separator.pic.o generated/gtkd/gtk/Testing.pic.o generated/gtkd/pango/PgGlyphString.pic.o generated/gtkd/pango/PgEngineLang.pic.o generated/gtkd/pango/PgVersion.pic.o generated/gtkd/pango/PgScript.pic.o generated/gtkd/pango/PgLanguage.pic.o generated/gtkd/pango/PgGlyphItemIter.pic.o generated/gtkd/pango/PgFontFamily.pic.o generated/gtkd/pango/PgRenderer.pic.o generated/gtkd/pango/PgAttribute.pic.o generated/gtkd/pango/PgEngine.pic.o generated/gtkd/pango/PgFontMap.pic.o generated/gtkd/pango/PgAttributeList.pic.o generated/gtkd/pango/PgContext.pic.o generated/gtkd/pango/PgFontDescription.pic.o generated/gtkd/pango/PgFontFace.pic.o generated/gtkd/pango/PgItem.pic.o generated/gtkd/pango/PgCoverage.pic.o generated/gtkd/pango/PgAttributeSize.pic.o generated/gtkd/pango/PgGlyphItem.pic.o generated/gtkd/pango/PgLayoutLine.pic.o generated/gtkd/pango/PgFontsetSimple.pic.o generated/gtkd/pango/PgCairoFontMap.pic.o generated/gtkd/pango/PgAttributeShape.pic.o generated/gtkd/pango/PgMatrix.pic.o generated/gtkd/pango/PgEngineShape.pic.o generated/gtkd/pango/PgAttributeIterator.pic.o generated/gtkd/pango/PgColor.pic.o generated/gtkd/pango/PgFontset.pic.o generated/gtkd/pango/PgLayoutIter.pic.o generated/gtkd/pango/PgScriptIter.pic.o generated/gtkd/pango/PgTabArray.pic.o generated/gtkd/pango/PgAttributeLanguage.pic.o generated/gtkd/pango/PgCairo.pic.o generated/gtkd/pango/PgMiscellaneous.pic.o generated/gtkd/pango/PgMap.pic.o generated/gtkd/pango/PgLayout.pic.o generated/gtkd/pango/PgFont.pic.o generated/gtkd/pango/PgAttributeFontDesc.pic.o generated/gtkd/pango/PgVertical.pic.o generated/gtkd/pango/PgFontMetrics.pic.o generated/gtkd/gobject/Enums.pic.o generated/gtkd/gobject/TypeInterface.pic.o generated/gtkd/gobject/TypePluginIF.pic.o generated/gtkd/gobject/ObjectClass.pic.o generated/gtkd/gobject/Flags.pic.o generated/gtkd/gobject/TypeClass.pic.o generated/gtkd/gobject/DClosure.pic.o generated/gtkd/gobject/CClosure.pic.o generated/gtkd/gobject/TypeValueTable.pic.o generated/gtkd/gobject/Type.pic.o generated/gtkd/gobject/Closure.pic.o generated/gtkd/gobject/ParamSpec.pic.o generated/gtkd/gobject/TypeModule.pic.o generated/gtkd/gobject/Binding.pic.o generated/gtkd/gobject/WeakRef.pic.o generated/gtkd/gobject/ObjectG.pic.o generated/gtkd/gobject/TypeInstance.pic.o generated/gtkd/gobject/Boxed.pic.o generated/gtkd/gobject/ParamSpecPool.pic.o generated/gtkd/gobject/Value.pic.o generated/gtkd/gobject/ValueArray.pic.o generated/gtkd/gobject/TypePluginT.pic.o generated/gtkd/gobject/Signals.pic.o generated/gtkd/rsvg/Handle.pic.o generated/gtkd/gtkc/gdkpixbuf.pic.o generated/gtkd/gtkc/gobjecttypes.pic.o generated/gtkd/gtkc/paths.pic.o generated/gtkd/gtkc/rsvgtypes.pic.o generated/gtkd/gtkc/glib.pic.o generated/gtkd/gtkc/cairo.pic.o generated/gtkd/gtkc/giotypes.pic.o generated/gtkd/gtkc/atk.pic.o generated/gtkd/gtkc/gtktypes.pic.o generated/gtkd/gtkc/gtk.pic.o generated/gtkd/gtkc/Loader.pic.o generated/gtkd/gtkc/gio.pic.o generated/gtkd/gtkc/cairotypes.pic.o generated/gtkd/gtkc/pangotypes.pic.o generated/gtkd/gtkc/gdk.pic.o generated/gtkd/gtkc/glibtypes.pic.o generated/gtkd/gtkc/atktypes.pic.o generated/gtkd/gtkc/pango.pic.o generated/gtkd/gtkc/gobject.pic.o generated/gtkd/gtkc/rsvg.pic.o generated/gtkd/gtkc/gdktypes.pic.o generated/gtkd/gtkc/gdkpixbuftypes.pic.o generated/gtkd/gdkpixbuf/PixbufAnimationIter.pic.o generated/gtkd/gdkpixbuf/PixbufSimpleAnimation.pic.o generated/gtkd/gdkpixbuf/PixbufAnimation.pic.o generated/gtkd/gdkpixbuf/PixbufFormat.pic.o generated/gtkd/gdkpixbuf/PixbufLoader.pic.o generated/gtkd/gdkpixbuf/Pixbuf.pic.o generated/gtkd/gdkpixbuf/Pixdata.pic.o generated/gtkd/gthread/Thread.pic.o generated/gtkd/gthread/Private.pic.o generated/gtkd/gthread/RWLock.pic.o generated/gtkd/gthread/Mutex.pic.o generated/gtkd/gthread/Cond.pic.o generated/gtkd/gthread/RecMutex.pic.o generated/gtkd/gthread/Once.pic.o generated/gtkd/glib/TestLogBuffer.pic.o generated/gtkd/glib/UnixUtils.pic.o generated/gtkd/glib/Unicode.pic.o generated/gtkd/glib/Idle.pic.o generated/gtkd/glib/Once.pic.o generated/gtkd/glib/Quark.pic.o generated/gtkd/glib/ListG.pic.o generated/gtkd/glib/Base64.pic.o generated/gtkd/glib/StringChunk.pic.o generated/gtkd/glib/ByteArray.pic.o generated/gtkd/glib/MainLoop.pic.o generated/gtkd/glib/DateTime.pic.o generated/gtkd/glib/TimeVal.pic.o generated/gtkd/glib/Thread.pic.o generated/gtkd/glib/QueueG.pic.o generated/gtkd/glib/Pattern.pic.o generated/gtkd/glib/Internationalization.pic.o generated/gtkd/glib/OptionContext.pic.o generated/gtkd/glib/Hook.pic.o generated/gtkd/glib/RWLock.pic.o generated/gtkd/glib/Private.pic.o generated/gtkd/glib/StringG.pic.o generated/gtkd/glib/Module.pic.o generated/gtkd/glib/DataList.pic.o generated/gtkd/glib/Util.pic.o generated/gtkd/glib/Source.pic.o generated/gtkd/glib/HookList.pic.o generated/gtkd/glib/VariantType.pic.o generated/gtkd/glib/Node.pic.o generated/gtkd/glib/Version.pic.o generated/gtkd/glib/Uuid.pic.o generated/gtkd/glib/Hostname.pic.o generated/gtkd/glib/ThreadPool.pic.o generated/gtkd/glib/Regex.pic.o generated/gtkd/glib/HashTableIter.pic.o generated/gtkd/glib/VariantIter.pic.o generated/gtkd/glib/GException.pic.o generated/gtkd/glib/PtrArray.pic.o generated/gtkd/glib/TimeZone.pic.o generated/gtkd/glib/Hmac.pic.o generated/gtkd/glib/Directory.pic.o generated/gtkd/glib/Checksum.pic.o generated/gtkd/glib/SequenceIter.pic.o generated/gtkd/glib/ShellUtils.pic.o generated/gtkd/glib/Memory.pic.o generated/gtkd/glib/Atomic.pic.o generated/gtkd/glib/URI.pic.o generated/gtkd/glib/ErrorG.pic.o generated/gtkd/glib/VariantDict.pic.o generated/gtkd/glib/FileUtils.pic.o generated/gtkd/glib/Str.pic.o generated/gtkd/glib/Messages.pic.o generated/gtkd/glib/ConstructionException.pic.o generated/gtkd/glib/MemorySlice.pic.o generated/gtkd/glib/MatchInfo.pic.o generated/gtkd/glib/IConv.pic.o generated/gtkd/glib/SimpleXML.pic.o generated/gtkd/glib/VariantBuilder.pic.o generated/gtkd/glib/Cond.pic.o generated/gtkd/glib/CharacterSet.pic.o generated/gtkd/glib/Variant.pic.o generated/gtkd/glib/Child.pic.o generated/gtkd/glib/MainContext.pic.o generated/gtkd/glib/AsyncQueue.pic.o generated/gtkd/glib/MappedFile.pic.o generated/gtkd/glib/Sequence.pic.o generated/gtkd/glib/RecMutex.pic.o generated/gtkd/glib/Bytes.pic.o generated/gtkd/glib/ListSG.pic.o generated/gtkd/glib/BBTree.pic.o generated/gtkd/glib/Timer.pic.o generated/gtkd/glib/Spawn.pic.o generated/gtkd/glib/DataSet.pic.o generated/gtkd/glib/ArrayG.pic.o generated/gtkd/glib/Timeout.pic.o generated/gtkd/glib/ScannerG.pic.o generated/gtkd/glib/IOChannel.pic.o generated/gtkd/glib/MessageLog.pic.o generated/gtkd/glib/TestLogMsg.pic.o generated/gtkd/glib/GLib.pic.o generated/gtkd/glib/Mutex.pic.o generated/gtkd/glib/KeyFile.pic.o generated/gtkd/glib/HashTable.pic.o generated/gtkd/glib/BookmarkFile.pic.o generated/gtkd/glib/TrashStack.pic.o generated/gtkd/glib/TestSuite.pic.o generated/gtkd/glib/OptionGroup.pic.o generated/gtkd/glib/Date.pic.o generated/gtkd/glib/RandG.pic.o generated/gtkd/gtkd/paths.pic.o generated/gtkd/gtkd/Loader.pic.o generated/gtkd/gtkd/Implement.pic.o generated/gtkd/atk/c/types.pic.o generated/gtkd/atk/c/functions.pic.o generated/gtkd/gio/c/types.pic.o generated/gtkd/gio/c/functions.pic.o generated/gtkd/gdk/c/types.pic.o generated/gtkd/gdk/c/functions.pic.o generated/gtkd/cairo/c/types.pic.o generated/gtkd/cairo/c/functions.pic.o generated/gtkd/gtk/c/types.pic.o generated/gtkd/gtk/c/functions.pic.o generated/gtkd/pango/c/types.pic.o generated/gtkd/pango/c/functions.pic.o generated/gtkd/gobject/c/types.pic.o generated/gtkd/gobject/c/functions.pic.o generated/gtkd/rsvg/c/types.pic.o generated/gtkd/rsvg/c/functions.pic.o generated/gtkd/gdkpixbuf/c/types.pic.o generated/gtkd/gdkpixbuf/c/functions.pic.o generated/gtkd/gthread/c/types.pic.o generated/gtkd/gthread/c/functions.pic.o generated/gtkd/glib/c/types.pic.o generated/gtkd/glib/c/functions.pic.o

I'm using dmd 2.078.1 on CentOS release 6.9. I'm guessing it's related to some path definition in the makefile but I'm not familiar with the D compiler to figure it out.

Char-Aznable commented 6 years ago

OK. I figure it out. The issue was the make command 'subst' only substituting '-l' with '-L-l' but didn't replace '-L' with '-L-L' in the linker flags returned by pkg-config. The following patch using sed instead of subst fixes this issue:

diff --git a/GNUmakefile b/GNUmakefile
index 762033c0..0841fb2e 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -115,12 +115,12 @@ PICOBJECTS_PEASD = $(patsubst %.o,%.pic.o,$(OBJECTS_PEASD))
 USE_RUNTIME_LINKER = $(shell grep "Linker" generated/gtkd/gtkc/atk.d)

 ifeq ($(USE_RUNTIME_LINKER),)
-    SOFLAGS_GTKD = $(subst -l,$(LINKERFLAG)-l,$(shell pkg-config --libs gtk+-3.0 librsvg-2.0))
-    SOFLAGS_GTKDGL = $(LINKERFLAG)-L. $(LINKERFLAG)./libgtkd-$(MAJOR).so $(subst -l,$(LINKERFLAG)-l,$(shell pkg-config --libs gtkglext-3.0))
-    SOFLAGS_GTKDSV = $(LINKERFLAG)-L. $(LINKERFLAG)./libgtkd-$(MAJOR).so $(subst -l,$(LINKERFLAG)-l,$(shell pkg-config --libs gtksourceview-3.0))
-    SOFLAGS_GSTREAMERD = $(LINKERFLAG)-L. $(LINKERFLAG)./libgtkd-$(MAJOR).so $(subst -l,$(LINKERFLAG)-l,$(shell pkg-config --libs gstreamer-base-1.0))
-    SOFLAGS_VTED = $(LINKERFLAG)-L. $(LINKERFLAG)./libgtkd-$(MAJOR).so $(subst -l,$(LINKERFLAG)-l,$(shell pkg-config --libs vte-2.91))
-    SOFLAGS_PEASD = $(LINKERFLAG)-L. $(LINKERFLAG)./libgtkd-$(MAJOR).so $(subst -l,$(LINKERFLAG)-l,$(shell pkg-config --libs-only-l libpeas-1.0))
+    SOFLAGS_GTKD = $(shell pkg-config --libs gtk+-3.0 librsvg-2.0 | sed 's/-[lL]/-L&/g')
+    SOFLAGS_GTKDGL = $(LINKERFLAG)-L. $(LINKERFLAG)./libgtkd-$(MAJOR).so $(shell pkg-config --libs gtkglext-3.0 | sed 's/-[lL]/-L&/g')
+    SOFLAGS_GTKDSV = $(LINKERFLAG)-L. $(LINKERFLAG)./libgtkd-$(MAJOR).so $(shell pkg-config --libs gtksourceview-3.0 | sed 's/-[lL]/-L&/g')
+    SOFLAGS_GSTREAMERD = $(LINKERFLAG)-L. $(LINKERFLAG)./libgtkd-$(MAJOR).so $(shell pkg-config --libs gstreamer-base-1.0 | sed 's/-[lL]/-L&/g')
+    SOFLAGS_VTED = $(LINKERFLAG)-L. $(LINKERFLAG)./libgtkd-$(MAJOR).so $(shell pkg-config --libs vte-2.91 | sed 's/-[lL]/-L&/g')
+    SOFLAGS_PEASD = $(LINKERFLAG)-L. $(LINKERFLAG)./libgtkd-$(MAJOR).so $(shell pkg-config --libs-only-l libpeas-1.0 | sed 's/-[lL]/-L&/g')
 endif

 #######################################################################
Char-Aznable commented 6 years ago

PR submitted #229

MikeWey commented 6 years ago

Merged #229